Complex type traits#
#include <hpk/complex_type_traits.hpp>
This header provides for metaprogramming with std::complex
types.
VARIABLE
-
template<typename T>
constexpr bool hpk::is_complex_v = is_complex<T>::value# Tests whether a type is
std::complex
.For example,
hpk::is_complex_v<float> // false hpk::is_complex_v<std::complex<float>> // true
TYPEDEFS