Galois version of boost::optional.
More...
#include <optional.h>
Public Types | |
| typedef bool(optional::* | unspecified_bool_type )() const |
Public Member Functions | |
| optional () | |
| optional (const T &val) | |
| optional (const optional &rhs) | |
| template<typename U > | |
| optional (const optional< U > &rhs) | |
| ~optional () | |
| void | assign (const optional &rhs) |
| template<typename U > | |
| void | assign (const optional< U > &rhs) |
| void | assign (const T &val) |
| bool | is_initialized () const |
| optional & | operator= (const optional &rhs) |
| template<typename U > | |
| optional & | operator= (const optional< U > &rhs) |
| optional & | operator= (const T &val) |
| T & | get () |
| const T & | get () const |
| T & | operator* () |
| const T & | operator* () const |
| T * | operator-> () |
| const T * | operator-> () const |
| operator unspecified_bool_type () const | |
Private Member Functions | |
| void | construct (const T &val) |
| void | assign_impl (const T &val) |
| void | destroy () |
| T & | get_impl () |
| const T & | get_impl () const |
Private Attributes | |
| LazyObject< T > | data_ |
| bool | initialized_ |
Galois version of boost::optional.
| typedef bool(optional::* Galois::optional< T >::unspecified_bool_type)() const |
| Galois::optional< T >::optional | ( | ) | [inline] |
| Galois::optional< T >::optional | ( | const T & | val | ) | [inline] |
| Galois::optional< T >::optional | ( | const optional< T > & | rhs | ) | [inline] |
| Galois::optional< T >::optional | ( | const optional< U > & | rhs | ) | [inline, explicit] |
| Galois::optional< T >::~optional | ( | ) | [inline] |
| void Galois::optional< T >::assign | ( | const T & | val | ) | [inline] |
| void Galois::optional< T >::assign | ( | const optional< U > & | rhs | ) | [inline] |
| void Galois::optional< T >::assign | ( | const optional< T > & | rhs | ) | [inline] |
| void Galois::optional< T >::assign_impl | ( | const T & | val | ) | [inline, private] |
| void Galois::optional< T >::construct | ( | const T & | val | ) | [inline, private] |
| void Galois::optional< T >::destroy | ( | ) | [inline, private] |
| const T& Galois::optional< T >::get | ( | ) | const [inline] |
| T& Galois::optional< T >::get | ( | ) | [inline] |
| const T& Galois::optional< T >::get_impl | ( | ) | const [inline, private] |
| T& Galois::optional< T >::get_impl | ( | ) | [inline, private] |
| bool Galois::optional< T >::is_initialized | ( | ) | const [inline] |
| Galois::optional< T >::operator unspecified_bool_type | ( | ) | const [inline] |
| const T& Galois::optional< T >::operator* | ( | ) | const [inline] |
| T& Galois::optional< T >::operator* | ( | ) | [inline] |
| const T* Galois::optional< T >::operator-> | ( | ) | const [inline] |
| T* Galois::optional< T >::operator-> | ( | ) | [inline] |
| optional& Galois::optional< T >::operator= | ( | const T & | val | ) | [inline] |
| optional& Galois::optional< T >::operator= | ( | const optional< U > & | rhs | ) | [inline] |
| optional& Galois::optional< T >::operator= | ( | const optional< T > & | rhs | ) | [inline] |
LazyObject<T> Galois::optional< T >::data_ [private] |
bool Galois::optional< T >::initialized_ [private] |
1.6.1