Boost Reflect Library 0.1.0
|
A type to replace void in generic code. More...
#include <void.hpp>
Friends | |
std::ostream & | operator<< (std::ostream &os, const void_t &) |
std::istream & | operator>> (std::istream &is, void_t &) |
A type to replace void in generic code.
void cannot be treated like any other type and thus always introduces many 'special cases' to generic code. This type is used in generic code any all functors that return void can be adapted to return void_t before being used with generic code via boost::reflect::adapt_void.
std::ostream& operator<< | ( | std::ostream & | os, |
const void_t & | |||
) | [friend] |
std::istream& operator>> | ( | std::istream & | is, |
void_t & | |||
) | [friend] |
© Daniel Larimer 2010-2011 - Licensed under Boost Software License, Version 1.0 | Boost Reflect Library |