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
 

Classes

class  bad_optional_access
 optional access error More...
 
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 1279 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 1285 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 1291 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 1297 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 1303 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 1309 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 1317 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 1323 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 1329 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 1335 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 1341 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 1347 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 1353 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 1359 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 1365 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 1371 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 1377 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 1383 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 1391 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 1397 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 1403 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 1409 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 1415 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 1421 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 1427 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 1433 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 1439 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 1445 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 1451 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 1457 of file optional.hpp.

◆ swap()

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

◆ make_optional()

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

Variable Documentation

◆ nullopt