CoDiPack  2.2.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::AtomicTraits Namespace Reference

Traits for atomic types. More...

Classes

struct  IsAtomic
 Indicate whether a type is atomic. More...
 
struct  IsAtomic< OpenMPAtomic< T_Type > >
 Declare OpenMPAtomic to be atomic in terms of AtomicTraits. More...
 
struct  RemoveAtomicImpl
 Convert an atomic type into the underlying type. Implementation. More...
 
struct  RemoveAtomicImpl< Atomic, EnableIfAtomic< Atomic > >
 Specialization for atomic types. More...
 

Typedefs

template<typename Type >
using EnableIfAtomic = typename std::enable_if<IsAtomic<Type>::value>::type
 Enable if abbreviation for IsAtomic.
 
template<typename Type >
using RemoveAtomic = typename RemoveAtomicImpl<Type>::Type
 Wrapper for removing atomic from a type.
 

Detailed Description

Traits for atomic types.