Release 1.39.0
[boost.git] / Boost_1_39_0 / libs / type_traits / doc / is_complex.qbk
blob0c4f9818dae633402b460bf68bc801b8927224d7
1 [/ 
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_complex is_complex]
9    
10    template <class T>
11    struct is_complex : public __tof {};
12   
13 __inherit If `T` is a complex number type then true (of type `std::complex<U>` for
14 some type `U`), otherwise false.
16 __std_ref 26.2.
18 __header ` #include <boost/type_traits/is_complex.hpp>` or ` #include <boost/type_traits.hpp>`
20 [endsect]