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

Type trait for extracting the underlying type from a std::complex, or just getting the type of anything which is not std::complex. More...

#include <ptems/vector.hpp>

Public Types

typedef T type
 The underlying type of std::complex, or just the type if not an std::complex. More...
 

Related Functions

(Note that these are not member functions.)

template<typename T >
using remove_complex_t = typename remove_complex< typename std::remove_cv< typename std::remove_reference< T >::type >::type >::type
 Helper for extracting the underlying type from a std::complex, or just getting the type of anything which is not std::complex. More...
 

Detailed Description

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

Type trait for extracting the underlying type from a std::complex, or just getting the type of anything which is not std::complex.

Warning
Use remove_complex_t instead (removes const, volatile, and reference)
Template Parameters
TThe (complex) type to extract the underlying type from

Member Typedef Documentation

◆ type

template<typename T >
typedef T ptems::remove_complex< T >::type

The underlying type of std::complex, or just the type if not an std::complex.

Friends And Related Function Documentation

◆ remove_complex_t

template<typename T >
template<typename T >
using remove_complex_t = typename remove_complex<typename std::remove_cv<typename std::remove_reference<T>::type>::type>::type
related

Helper for extracting the underlying type from a std::complex, or just getting the type of anything which is not std::complex.

Template Parameters
TThe (complex) type to extract the underlying type from

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