Boost Reflect Library 0.1.0
Friends
void_t Struct Reference

A type to replace void in generic code. More...

#include <void.hpp>

List of all members.

Friends

std::ostream & operator<< (std::ostream &os, const void_t &)
std::istream & operator>> (std::istream &is, void_t &)

Detailed Description

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.

Definition at line 14 of file void.hpp.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const void_t  
) [friend]

Definition at line 15 of file void.hpp.

std::istream& operator>> ( std::istream &  is,
void_t  
) [friend]

Definition at line 16 of file void.hpp.


The documentation for this struct was generated from the following file:

© Daniel Larimer 2010-2011 - Licensed under Boost Software License, Version 1.0 Boost Reflect Library