| Home | Libraries | People | FAQ | More

### is_complex

    template <class T>
    struct is_complex : public true_type-or-false_type {};

Inherits: If `T` is a complex number type then true (of type `std::complex<U>` for some type `U`), otherwise false.

C++ Standard Reference: 26.2.

Compiler Compatibility: All current compilers are supported by this trait.

Header: `#include <boost/type_traits/is_complex.hpp>` or `#include <boost/type_traits.hpp>`