26 #ifndef GUM_THREAD_DATA_H 27 #define GUM_THREAD_DATA_H 50 template <
typename T_DATA >
90 data = std::move(from.data);
ThreadData(const T_DATA &theData)
default constructor
ThreadData(T_DATA &&theData)
default constructor
A wrapper that enables to store data in a way that prevents false cacheline sharing.
gum is the global namespace for all aGrUM entities
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