Galois
|
Single (uninitialized) object with specialization for void type. More...
#include <LazyObject.h>
Classes | |
struct | size_of |
Public Types | |
typedef T | value_type |
typedef T & | reference |
typedef const T & | const_reference |
Public Member Functions | |
void | destroy () |
void | construct (const_reference x) |
template<typename... Args> | |
void | construct (Args &&...args) |
const_reference | get () const |
reference | get () |
Static Public Attributes | |
static const bool | has_value = true |
Single (uninitialized) object with specialization for void type.
To take advantage of empty member optimization, users should subclass this class, otherwise the compiler will insert non-zero padding for fields (even when empty).
typedef const T& galois::LazyObject< T >::const_reference |
typedef T& galois::LazyObject< T >::reference |
typedef T galois::LazyObject< T >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |