nonstd::optional_lite Namespace Reference

Namespaces

 detail
 
 std11
 

Classes

struct  nullopt_t
 disengaged state tag More...
 
class  optional
 class optional More...
 

Functions

template<typename T >
optional< T > make_optional (T const &value)
 
template<typename T , typename U >
bool operator!= (optional< T > const &x, optional< U > const &y)
 
template<typename T >
bool operator!= (optional< T > const &x, nullopt_t)
 
template<typename T >
bool operator!= (nullopt_t, optional< T > const &x)
 
template<typename T , typename U >
bool operator!= (optional< T > const &x, U const &v)
 
template<typename T , typename U >
bool operator!= (U const &v, optional< T > const &x)
 
template<typename T , typename U >
bool operator< (optional< T > const &x, optional< U > const &y)
 
template<typename T >
bool operator< (optional< T > const &, nullopt_t)
 
template<typename T >
bool operator< (nullopt_t, optional< T > const &x)
 
template<typename T , typename U >
bool operator< (optional< T > const &x, U const &v)
 
template<typename T , typename U >
bool operator< (U const &v, optional< T > const &x)
 
template<typename T , typename U >
bool operator<= (optional< T > const &x, optional< U > const &y)
 
template<typename T >
bool operator<= (optional< T > const &x, nullopt_t)
 
template<typename T >
bool operator<= (nullopt_t, optional< T > const &)
 
template<typename T , typename U >
bool operator<= (optional< T > const &x, U const &v)
 
template<typename T , typename U >
bool operator<= (U const &v, optional< T > const &x)
 
template<typename T , typename U >
bool operator== (optional< T > const &x, optional< U > const &y)
 
template<typename T >
bool operator== (optional< T > const &x, nullopt_t)
 
template<typename T >
bool operator== (nullopt_t, optional< T > const &x)
 
template<typename T , typename U >
bool operator== (optional< T > const &x, U const &v)
 
template<typename T , typename U >
bool operator== (U const &v, optional< T > const &x)
 
template<typename T , typename U >
bool operator> (optional< T > const &x, optional< U > const &y)
 
template<typename T >
bool operator> (optional< T > const &x, nullopt_t)
 
template<typename T >
bool operator> (nullopt_t, optional< T > const &)
 
template<typename T , typename U >
bool operator> (optional< T > const &x, U const &v)
 
template<typename T , typename U >
bool operator> (U const &v, optional< T > const &x)
 
template<typename T , typename U >
bool operator>= (optional< T > const &x, optional< U > const &y)
 
template<typename T >
bool operator>= (optional< T > const &, nullopt_t)
 
template<typename T >
bool operator>= (nullopt_t, optional< T > const &x)
 
template<typename T , typename U >
bool operator>= (optional< T > const &x, U const &v)
 
template<typename T , typename U >
bool operator>= (U const &v, optional< T > const &x)
 
template<typename T >
void swap (optional< T > &x, optional< T > &y)
 

Variables

const nullopt_t nullopt ((nullopt_t::init()))
 

Function Documentation

template<typename T >
optional<T> nonstd::optional_lite::make_optional ( T const &  value)

Definition at line 1650 of file optional.hpp.

template<typename T , typename U >
bool nonstd::optional_lite::operator!= ( optional< T > const &  x,
optional< U > const &  y 
)
inline

Definition at line 1433 of file optional.hpp.

template<typename T >
bool nonstd::optional_lite::operator!= ( optional< T > const &  x,
nullopt_t   
)
inline

Definition at line 1477 of file optional.hpp.

template<typename T >
bool nonstd::optional_lite::operator!= ( nullopt_t  ,
optional< T > const &  x 
)
inline

Definition at line 1483 of file optional.hpp.

template<typename T , typename U >
bool nonstd::optional_lite::operator!= ( optional< T > const &  x,
U const &  v 
)
inline

Definition at line 1551 of file optional.hpp.

template<typename T , typename U >
bool nonstd::optional_lite::operator!= ( U const &  v,
optional< T > const &  x 
)
inline

Definition at line 1557 of file optional.hpp.

template<typename T , typename U >
bool nonstd::optional_lite::operator< ( optional< T > const &  x,
optional< U > const &  y 
)
inline

Definition at line 1439 of file optional.hpp.

template<typename T >
bool nonstd::optional_lite::operator< ( optional< T > const &  ,
nullopt_t   
)
inline

Definition at line 1489 of file optional.hpp.

template<typename T >
bool nonstd::optional_lite::operator< ( nullopt_t  ,
optional< T > const &  x 
)
inline

Definition at line 1495 of file optional.hpp.

template<typename T , typename U >
bool nonstd::optional_lite::operator< ( optional< T > const &  x,
U const &  v 
)
inline

Definition at line 1563 of file optional.hpp.

template<typename T , typename U >
bool nonstd::optional_lite::operator< ( U const &  v,
optional< T > const &  x 
)
inline

Definition at line 1569 of file optional.hpp.

template<typename T , typename U >
bool nonstd::optional_lite::operator<= ( optional< T > const &  x,
optional< U > const &  y 
)
inline

Definition at line 1451 of file optional.hpp.

template<typename T >
bool nonstd::optional_lite::operator<= ( optional< T > const &  x,
nullopt_t   
)
inline

Definition at line 1501 of file optional.hpp.

template<typename T >
bool nonstd::optional_lite::operator<= ( nullopt_t  ,
optional< T > const &   
)
inline

Definition at line 1507 of file optional.hpp.

template<typename T , typename U >
bool nonstd::optional_lite::operator<= ( optional< T > const &  x,
U const &  v 
)
inline

Definition at line 1575 of file optional.hpp.

template<typename T , typename U >
bool nonstd::optional_lite::operator<= ( U const &  v,
optional< T > const &  x 
)
inline

Definition at line 1581 of file optional.hpp.

template<typename T , typename U >
bool nonstd::optional_lite::operator== ( optional< T > const &  x,
optional< U > const &  y 
)
inline

Definition at line 1427 of file optional.hpp.

template<typename T >
bool nonstd::optional_lite::operator== ( optional< T > const &  x,
nullopt_t   
)
inline

Definition at line 1465 of file optional.hpp.

template<typename T >
bool nonstd::optional_lite::operator== ( nullopt_t  ,
optional< T > const &  x 
)
inline

Definition at line 1471 of file optional.hpp.

template<typename T , typename U >
bool nonstd::optional_lite::operator== ( optional< T > const &  x,
U const &  v 
)
inline

Definition at line 1539 of file optional.hpp.

template<typename T , typename U >
bool nonstd::optional_lite::operator== ( U const &  v,
optional< T > const &  x 
)
inline

Definition at line 1545 of file optional.hpp.

template<typename T , typename U >
bool nonstd::optional_lite::operator> ( optional< T > const &  x,
optional< U > const &  y 
)
inline

Definition at line 1445 of file optional.hpp.

template<typename T >
bool nonstd::optional_lite::operator> ( optional< T > const &  x,
nullopt_t   
)
inline

Definition at line 1513 of file optional.hpp.

template<typename T >
bool nonstd::optional_lite::operator> ( nullopt_t  ,
optional< T > const &   
)
inline

Definition at line 1519 of file optional.hpp.

template<typename T , typename U >
bool nonstd::optional_lite::operator> ( optional< T > const &  x,
U const &  v 
)
inline

Definition at line 1587 of file optional.hpp.

template<typename T , typename U >
bool nonstd::optional_lite::operator> ( U const &  v,
optional< T > const &  x 
)
inline

Definition at line 1593 of file optional.hpp.

template<typename T , typename U >
bool nonstd::optional_lite::operator>= ( optional< T > const &  x,
optional< U > const &  y 
)
inline

Definition at line 1457 of file optional.hpp.

template<typename T >
bool nonstd::optional_lite::operator>= ( optional< T > const &  ,
nullopt_t   
)
inline

Definition at line 1525 of file optional.hpp.

template<typename T >
bool nonstd::optional_lite::operator>= ( nullopt_t  ,
optional< T > const &  x 
)
inline

Definition at line 1531 of file optional.hpp.

template<typename T , typename U >
bool nonstd::optional_lite::operator>= ( optional< T > const &  x,
U const &  v 
)
inline

Definition at line 1599 of file optional.hpp.

template<typename T , typename U >
bool nonstd::optional_lite::operator>= ( U const &  v,
optional< T > const &  x 
)
inline

Definition at line 1605 of file optional.hpp.

template<typename T >
void nonstd::optional_lite::swap ( optional< T > &  x,
optional< T > &  y 
)

Definition at line 1619 of file optional.hpp.

Variable Documentation

const nullopt_t nonstd::optional_lite::nullopt((nullopt_t::init()))