is_complex.qbk 551 B

1234567891011121314151617181920212223
  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. [section:is_complex is_complex]
  8. template <class T>
  9. struct is_complex : public __tof {};
  10. __inherit If `T` is a complex number type then true (of type `std::complex<U>` for
  11. some type `U`), otherwise false.
  12. __std_ref 26.2.
  13. [all_compilers]
  14. __header ` #include <boost/type_traits/is_complex.hpp>` or ` #include <boost/type_traits.hpp>`
  15. [endsect]