pTraits.H File Reference
Include dependency graph for pTraits.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  zero_one
 Represents 0/1 range or concept. Used for tagged dispatch or clamping. More...
 
class  pTraits< Base >
 A traits class, which is primarily used for primitives and vector-space. More...
 
struct  is_vectorspace< T, class >
 Test for VectorSpace : default is false. More...
 
struct  is_vectorspace< T, stdFoam::void_t< decltype(T::rank)> >
 Test for VectorSpace : test for T::rank != 0 static member directly. More...
 
struct  pTraits_rank< T, class >
 The vector-space rank: default is 0. More...
 
struct  rank)>>< T >
 Rank of VectorSpace, using the pTraits rank static member. More...
 
struct  pTraits_cmptType< T, class >
 The underlying component data type: default is pass-through. More...
 
struct  pTraits_cmptType< T, stdFoam::void_t< decltype(pTraits< T >::zero)> >
 The underlying component data type for vector-space (or complex). More...
 
struct  pTraits_nComponents< T, class >
 The vector-space number of components: default is 1. More...
 
struct  nComponents)>>< T >
 Number of VectorSpace components, using the pTraits nComponents static member. More...
 
struct  pTraits_has_zero< T, class >
 Test for pTraits zero : default is false. More...
 
struct  zero)>>< T >
 Test for pTraits zero. More...
 
struct  is_range< T, class >
 Test for containers with begin/end range iterators. More...
 
struct  declval< T >().end()) >>
 Test for list containers with begin/end range iterators. More...
 

Namespaces

 stdFoam
 Namespace for std templates that are are part of future C++ standards or that are in a state of change.
 
 Foam
 Namespace for OpenFOAM.
 

Typedefs

template<class... >
using void_t = void
 Map a sequence of any types to void as per C++17 std::void_t. More...
 

Detailed Description

Original source file pTraits.H

Definition in file pTraits.H.