Namespaces | |
namespace | detail |
Classes | |
class | bad_optional_access |
optional access error More... | |
struct | nullopt_t |
disengaged state tag More... | |
class | optional |
optional More... | |
Functions | |
template<typename T > | |
optional< T > | make_optional (T const &v) |
template<typename T > | |
bool | operator!= (optional< T > const &x, optional< T > const &y) |
template<typename T > | |
bool | operator!= (optional< T > const &x, nullopt_t) optional_noexcept |
template<typename T > | |
bool | operator!= (nullopt_t, optional< T > const &x) optional_noexcept |
template<typename T > | |
bool | operator!= (optional< T > const &x, const T &v) |
template<typename T > | |
bool | operator!= (T const &v, optional< T > const &x) |
template<typename T > | |
bool | operator< (optional< T > const &x, optional< T > const &y) |
template<typename T > | |
bool | operator< (optional< T > const &, nullopt_t) optional_noexcept |
template<typename T > | |
bool | operator< (nullopt_t, optional< T > const &x) optional_noexcept |
template<typename T > | |
bool | operator< (optional< T > const &x, const T &v) |
template<typename T > | |
bool | operator< (T const &v, optional< T > const &x) |
template<typename T > | |
bool | operator<= (optional< T > const &x, optional< T > const &y) |
template<typename T > | |
bool | operator<= (optional< T > const &x, nullopt_t) optional_noexcept |
template<typename T > | |
bool | operator<= (nullopt_t, optional< T > const &) optional_noexcept |
template<typename T > | |
bool | operator<= (optional< T > const &x, const T &v) |
template<typename T > | |
bool | operator<= (T const &v, optional< T > const &x) |
template<typename T > | |
bool | operator== (optional< T > const &x, optional< T > const &y) |
template<typename T > | |
bool | operator== (optional< T > const &x, nullopt_t) optional_noexcept |
template<typename T > | |
bool | operator== (nullopt_t, optional< T > const &x) optional_noexcept |
template<typename T > | |
bool | operator== (optional< T > const &x, const T &v) |
template<typename T > | |
bool | operator== (T const &v, optional< T > const &x) |
template<typename T > | |
bool | operator> (optional< T > const &x, optional< T > const &y) |
template<typename T > | |
bool | operator> (optional< T > const &x, nullopt_t) optional_noexcept |
template<typename T > | |
bool | operator> (nullopt_t, optional< T > const &) optional_noexcept |
template<typename T > | |
bool | operator> (optional< T > const &x, const T &v) |
template<typename T > | |
bool | operator> (T const &v, optional< T > const &x) |
template<typename T > | |
bool | operator>= (optional< T > const &x, optional< T > 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 > | |
bool | operator>= (optional< T > const &x, const T &v) |
template<typename T > | |
bool | operator>= (T 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())) |
optional<T> nonstd::optional_lite::make_optional | ( | T const & | v | ) |
Definition at line 1043 of file optional.hpp.
bool nonstd::optional_lite::operator!= | ( | optional< T > const & | x, |
optional< T > const & | y | ||
) |
Definition at line 860 of file optional.hpp.
bool nonstd::optional_lite::operator!= | ( | optional< T > const & | x, |
nullopt_t | |||
) |
Definition at line 897 of file optional.hpp.
bool nonstd::optional_lite::operator!= | ( | nullopt_t | , |
optional< T > const & | x | ||
) |
Definition at line 902 of file optional.hpp.
bool nonstd::optional_lite::operator!= | ( | optional< T > const & | x, |
const T & | v | ||
) |
Definition at line 959 of file optional.hpp.
bool nonstd::optional_lite::operator!= | ( | T const & | v, |
optional< T > const & | x | ||
) |
Definition at line 964 of file optional.hpp.
bool nonstd::optional_lite::operator< | ( | optional< T > const & | x, |
optional< T > const & | y | ||
) |
Definition at line 865 of file optional.hpp.
bool nonstd::optional_lite::operator< | ( | optional< T > const & | , |
nullopt_t | |||
) |
Definition at line 907 of file optional.hpp.
bool nonstd::optional_lite::operator< | ( | nullopt_t | , |
optional< T > const & | x | ||
) |
Definition at line 912 of file optional.hpp.
bool nonstd::optional_lite::operator< | ( | optional< T > const & | x, |
const T & | v | ||
) |
Definition at line 969 of file optional.hpp.
bool nonstd::optional_lite::operator< | ( | T const & | v, |
optional< T > const & | x | ||
) |
Definition at line 974 of file optional.hpp.
bool nonstd::optional_lite::operator<= | ( | optional< T > const & | x, |
optional< T > const & | y | ||
) |
Definition at line 875 of file optional.hpp.
bool nonstd::optional_lite::operator<= | ( | optional< T > const & | x, |
nullopt_t | |||
) |
Definition at line 917 of file optional.hpp.
bool nonstd::optional_lite::operator<= | ( | nullopt_t | , |
optional< T > const & | |||
) |
Definition at line 922 of file optional.hpp.
bool nonstd::optional_lite::operator<= | ( | optional< T > const & | x, |
const T & | v | ||
) |
Definition at line 979 of file optional.hpp.
bool nonstd::optional_lite::operator<= | ( | T const & | v, |
optional< T > const & | x | ||
) |
Definition at line 984 of file optional.hpp.
bool nonstd::optional_lite::operator== | ( | optional< T > const & | x, |
optional< T > const & | y | ||
) |
Definition at line 855 of file optional.hpp.
bool nonstd::optional_lite::operator== | ( | optional< T > const & | x, |
nullopt_t | |||
) |
Definition at line 887 of file optional.hpp.
bool nonstd::optional_lite::operator== | ( | nullopt_t | , |
optional< T > const & | x | ||
) |
Definition at line 892 of file optional.hpp.
bool nonstd::optional_lite::operator== | ( | optional< T > const & | x, |
const T & | v | ||
) |
Definition at line 949 of file optional.hpp.
bool nonstd::optional_lite::operator== | ( | T const & | v, |
optional< T > const & | x | ||
) |
Definition at line 954 of file optional.hpp.
bool nonstd::optional_lite::operator> | ( | optional< T > const & | x, |
optional< T > const & | y | ||
) |
Definition at line 870 of file optional.hpp.
bool nonstd::optional_lite::operator> | ( | optional< T > const & | x, |
nullopt_t | |||
) |
Definition at line 927 of file optional.hpp.
bool nonstd::optional_lite::operator> | ( | nullopt_t | , |
optional< T > const & | |||
) |
Definition at line 932 of file optional.hpp.
bool nonstd::optional_lite::operator> | ( | optional< T > const & | x, |
const T & | v | ||
) |
Definition at line 989 of file optional.hpp.
bool nonstd::optional_lite::operator> | ( | T const & | v, |
optional< T > const & | x | ||
) |
Definition at line 994 of file optional.hpp.
bool nonstd::optional_lite::operator>= | ( | optional< T > const & | x, |
optional< T > const & | y | ||
) |
Definition at line 880 of file optional.hpp.
bool nonstd::optional_lite::operator>= | ( | optional< T > const & | , |
nullopt_t | |||
) |
Definition at line 937 of file optional.hpp.
bool nonstd::optional_lite::operator>= | ( | nullopt_t | , |
optional< T > const & | x | ||
) |
Definition at line 942 of file optional.hpp.
bool nonstd::optional_lite::operator>= | ( | optional< T > const & | x, |
const T & | v | ||
) |
Definition at line 999 of file optional.hpp.
bool nonstd::optional_lite::operator>= | ( | T const & | v, |
optional< T > const & | x | ||
) |
Definition at line 1004 of file optional.hpp.
void nonstd::optional_lite::swap | ( | optional< T > & | x, |
optional< T > & | y | ||
) |
Definition at line 1012 of file optional.hpp.