mpqc::meta Namespace Reference

Classes

struct  is_stdarray
 
struct  is_stdarray< std::array< T, N > >
 
struct  is_string
 
struct  is_string< FermionOccupationBlockString >
 
struct  is_string< FermionOccupationDBitString >
 
struct  is_string< FermionOccupationNBitString< Ns > >
 
struct  type_printer
 

Typedefs

template<typename Base , typename T >
using disable_if_same_or_derived = typename std::enable_if< !std::is_base_of< Base, typename std::decay< T >::type >::value >::type
 true if decayed T is Base, or is derived from it More...
 

Variables

template<typename String >
constexpr bool is_string_v = is_string<String>::value
 
template<typename T >
constexpr const bool is_stdarray_v = is_stdarray<T>::value
 

Typedef Documentation

◆ disable_if_same_or_derived

template<typename Base , typename T >
using mpqc::meta::disable_if_same_or_derived = typedef typename std::enable_if< !std::is_base_of<Base, typename std::decay<T>::type>::value>::type

true if decayed T is Base, or is derived from it

Variable Documentation

◆ is_stdarray_v

template<typename T >
constexpr const bool mpqc::meta::is_stdarray_v = is_stdarray<T>::value
constexpr

◆ is_string_v

template<typename String >
constexpr bool mpqc::meta::is_string_v = is_string<String>::value
constexpr