Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
galois::CopyableAtomic< T > Class Template Reference

Class that inherits from std::atomic to make it copyable by defining a copy constructor. More...

#include <AtomicWrapper.h>

Inheritance diagram for galois::CopyableAtomic< T >:

Public Member Functions

 CopyableAtomic ()
 Default constructor. More...
 
constexpr CopyableAtomic (T desired)
 Constructor initializing atomic to passed in data. More...
 
constexpr CopyableAtomic (const CopyableAtomic< T > &other)
 Copy constructor. More...
 
CopyableAtomicoperator= (const CopyableAtomic< T > &other)
 Copy constructor operator. More...
 

Detailed Description

template<class T>
class galois::CopyableAtomic< T >

Class that inherits from std::atomic to make it copyable by defining a copy constructor.

Template Parameters
Ttype of the atomic

Constructor & Destructor Documentation

template<class T>
galois::CopyableAtomic< T >::CopyableAtomic ( )
inline

Default constructor.

template<class T>
constexpr galois::CopyableAtomic< T >::CopyableAtomic ( desired)
inline

Constructor initializing atomic to passed in data.

template<class T>
constexpr galois::CopyableAtomic< T >::CopyableAtomic ( const CopyableAtomic< T > &  other)
inline

Copy constructor.

Member Function Documentation

template<class T>
CopyableAtomic& galois::CopyableAtomic< T >::operator= ( const CopyableAtomic< T > &  other)
inline

Copy constructor operator.


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