NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
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 , typename U >
optional_constexpr bool operator== (optional< T > const &x, optional< U > const &y)
 
template<typename T , typename U >
optional_constexpr bool operator!= (optional< T > const &x, optional< U > const &y)
 
template<typename T , typename U >
optional_constexpr bool operator< (optional< T > const &x, optional< U > const &y)
 
template<typename T , typename U >
optional_constexpr bool operator> (optional< T > const &x, optional< U > const &y)
 
template<typename T , typename U >
optional_constexpr bool operator<= (optional< T > const &x, optional< U > const &y)
 
template<typename T , typename U >
optional_constexpr bool operator>= (optional< T > const &x, optional< U > const &y)
 
template<typename T >
optional_constexpr bool operator== (optional< T > const &x, nullopt_t) optional_noexcept
 
template<typename T >
optional_constexpr bool operator== (nullopt_t, optional< T > const &x) optional_noexcept
 
template<typename T >
optional_constexpr bool operator!= (optional< T > const &x, nullopt_t) optional_noexcept
 
template<typename T >
optional_constexpr bool operator!= (nullopt_t, optional< T > const &x) optional_noexcept
 
template<typename T >
optional_constexpr bool operator< (optional< T > const &, nullopt_t) optional_noexcept
 
template<typename T >
optional_constexpr bool operator< (nullopt_t, optional< T > const &x) optional_noexcept
 
template<typename T >
optional_constexpr bool operator<= (optional< T > const &x, nullopt_t) optional_noexcept
 
template<typename T >
optional_constexpr bool operator<= (nullopt_t, optional< T > const &) optional_noexcept
 
template<typename T >
optional_constexpr bool operator> (optional< T > const &x, nullopt_t) optional_noexcept
 
template<typename T >
optional_constexpr bool operator> (nullopt_t, optional< T > const &) optional_noexcept
 
template<typename T >
optional_constexpr bool operator>= (optional< T > const &, nullopt_t) optional_noexcept
 
template<typename T >
optional_constexpr bool operator>= (nullopt_t, optional< T > const &x) optional_noexcept
 
template<typename T , typename U >
optional_constexpr bool operator== (optional< T > const &x, U const &v)
 
template<typename T , typename U >
optional_constexpr bool operator== (U const &v, optional< T > const &x)
 
template<typename T , typename U >
optional_constexpr bool operator!= (optional< T > const &x, U const &v)
 
template<typename T , typename U >
optional_constexpr bool operator!= (U const &v, optional< T > const &x)
 
template<typename T , typename U >
optional_constexpr bool operator< (optional< T > const &x, U const &v)
 
template<typename T , typename U >
optional_constexpr bool operator< (U const &v, optional< T > const &x)
 
template<typename T , typename U >
optional_constexpr bool operator<= (optional< T > const &x, U const &v)
 
template<typename T , typename U >
optional_constexpr bool operator<= (U const &v, optional< T > const &x)
 
template<typename T , typename U >
optional_constexpr bool operator> (optional< T > const &x, U const &v)
 
template<typename T , typename U >
optional_constexpr bool operator> (U const &v, optional< T > const &x)
 
template<typename T , typename U >
optional_constexpr bool operator>= (optional< T > const &x, U const &v)
 
template<typename T , typename U >
optional_constexpr bool operator>= (U const &v, optional< T > const &x)
 
template<typename T >
void swap (optional< T > &x, optional< T > &y)
 
template<typename T >
optional< T > make_optional (T const &value)
 

Variables

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

Function Documentation

◆ operator==() [1/5]

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

Definition at line 1427 of file optional.hpp.

◆ operator!=() [1/5]

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

Definition at line 1433 of file optional.hpp.

◆ operator<() [1/5]

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

Definition at line 1439 of file optional.hpp.

◆ operator>() [1/5]

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

Definition at line 1445 of file optional.hpp.

◆ operator<=() [1/5]

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

Definition at line 1451 of file optional.hpp.

◆ operator>=() [1/5]

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

Definition at line 1457 of file optional.hpp.

◆ operator==() [2/5]

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

Definition at line 1465 of file optional.hpp.

◆ operator==() [3/5]

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

Definition at line 1471 of file optional.hpp.

◆ operator!=() [2/5]

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

Definition at line 1477 of file optional.hpp.

◆ operator!=() [3/5]

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

Definition at line 1483 of file optional.hpp.

◆ operator<() [2/5]

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

Definition at line 1489 of file optional.hpp.

◆ operator<() [3/5]

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

Definition at line 1495 of file optional.hpp.

◆ operator<=() [2/5]

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

Definition at line 1501 of file optional.hpp.

◆ operator<=() [3/5]

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

Definition at line 1507 of file optional.hpp.

◆ operator>() [2/5]

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

Definition at line 1513 of file optional.hpp.

◆ operator>() [3/5]

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

Definition at line 1519 of file optional.hpp.

◆ operator>=() [2/5]

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

Definition at line 1525 of file optional.hpp.

◆ operator>=() [3/5]

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

Definition at line 1531 of file optional.hpp.

◆ operator==() [4/5]

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

Definition at line 1539 of file optional.hpp.

◆ operator==() [5/5]

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

Definition at line 1545 of file optional.hpp.

◆ operator!=() [4/5]

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

Definition at line 1551 of file optional.hpp.

◆ operator!=() [5/5]

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

Definition at line 1557 of file optional.hpp.

◆ operator<() [4/5]

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

Definition at line 1563 of file optional.hpp.

◆ operator<() [5/5]

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

Definition at line 1569 of file optional.hpp.

◆ operator<=() [4/5]

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

Definition at line 1575 of file optional.hpp.

◆ operator<=() [5/5]

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

Definition at line 1581 of file optional.hpp.

◆ operator>() [4/5]

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

Definition at line 1587 of file optional.hpp.

◆ operator>() [5/5]

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

Definition at line 1593 of file optional.hpp.

◆ operator>=() [4/5]

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

Definition at line 1599 of file optional.hpp.

◆ operator>=() [5/5]

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

Definition at line 1605 of file optional.hpp.

◆ swap()

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

Definition at line 1619 of file optional.hpp.

Referenced by nonstd::optional_lite::optional< T >::swap().

◆ make_optional()

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

Variable Documentation

◆ nullopt