2 Copyright 2007 John Maddock.
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt).
8 [section:is_void is_void]
10 struct is_void : public __tof {};
12 __inherit If T is a (possibly cv-qualified) void type then inherits from __true_type,
13 otherwise inherits from __false_type.
19 __header ` #include <boost/type_traits/is_void.hpp>` or ` #include <boost/type_traits.hpp>`
23 [:`is_void<void>` inherits from `__true_type`.]
25 [:`is_void<const void>::type` is the type `__true_type`.]
27 [:`is_void<void>::value` is an integral constant
28 expression that evaluates to /true/.]
30 [:`is_void<void*>::value` is an integral constant
31 expression that evaluates to /false/.]
33 [:`is_void<T>::value_type` is the type `bool`.]