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_fundamental is_fundamental]
10 struct is_fundamental : public __tof {};
12 __inherit If T is a (possibly cv-qualified) fundamental type then inherits from __true_type,
13 otherwise inherits from __false_type. Fundamental types include integral, floating
14 point and void types (see also __is_integral, __is_floating_point and __is_void)
20 __header ` #include <boost/type_traits/is_fundamental.hpp>` or ` #include <boost/type_traits.hpp>`
24 [:`is_fundamental<int)>` inherits from `__true_type`.]
26 [:`is_fundamental<double const>::type` is the type `__true_type`.]
28 [:`is_fundamental<void>::value` is an integral constant
29 expression that evaluates to /true/.]
31 [:`is_fundamental<T>::value_type` is the type `bool`.]