28 #ifndef GUM_THREAD_DATA_H 29 #define GUM_THREAD_DATA_H 33 #include <agrum/agrum.h> 52 template <
typename T_DATA >
86 if (
this != &from)
data = from.data;
92 data = std::move(from.data);
ThreadData(const T_DATA &theData)
default constructor
ThreadData(T_DATA &&theData)
default constructor
INLINE void emplace(Args &&... args)
A wrapper that enables to store data in a way that prevents false cacheline sharing.
ThreadData(const ThreadData< T_DATA > &from)
copy constructor
ThreadData< T_DATA > & operator=(ThreadData< T_DATA > &&from)
move operator
ThreadData< T_DATA > & operator=(const ThreadData< T_DATA > &from)
copy operator
ThreadData(ThreadData< T_DATA > &&from)
move constructor
T_DATA data
the data we wish to store without cacheline parallel problem