blob: 56469108d7c4da7d86ab07938b4bd21839383a26 [file] [log] [blame]
Brian Silverman4a2409e2018-08-04 23:24:02 -07001[/
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
14some 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