]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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). | |
6 | ] | |
7 | ||
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. | |
15 | ||
16 | __std_ref 26.2. | |
17 | ||
18 | [all_compilers] | |
19 | ||
20 | __header ` #include <boost/type_traits/is_complex.hpp>` or ` #include <boost/type_traits.hpp>` | |
21 | ||
22 | [endsect] | |
23 |