Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
Front Page / Data Types / Miscellaneous / void_

void_

Synopsis

struct void_
{
    typedef void_ type;
};

template< typename T > struct is_void;

Description

void_ is a generic type placeholder representing "nothing".

Header

#include <boost/mpl/void.hpp>

See also

Data Types, pair, empty_base, bool_, int_, integral_c