PTEMS  0.1.0-dev+git.81fd0e4
PolyTopic Element Method Solver
ptems::is_complex< T > Struct Template Reference

Type trait for checking if a type is std::complex or not. More...

#include <ptems/vector.hpp>

Inheritance diagram for ptems::is_complex< T >:
Collaboration diagram for ptems::is_complex< T >:

Related Functions

(Note that these are not member functions.)

template<typename T >
constexpr bool is_complex_v = is_complex<typename std::remove_cv<typename std::remove_reference<T>::type>::type>::value
 Helper for checking if type is std::complex or not. More...
 

Detailed Description

template<typename T>
struct ptems::is_complex< T >

Type trait for checking if a type is std::complex or not.

Warning
Use is_complex_v instead (removes const, volatile, and reference)
Template Parameters
TThe type to check

Friends And Related Function Documentation

◆ is_complex_v

template<typename T >
template<typename T >
constexpr bool is_complex_v = is_complex<typename std::remove_cv<typename std::remove_reference<T>::type>::type>::value
related

Helper for checking if type is std::complex or not.

Template Parameters
TThe type to check

The documentation for this struct was generated from the following file: