Namespaces | |
detail | |
\exclude | |
Classes | |
class | bad_optional_access |
struct | in_place_t |
A tag type to tell optional to construct its value in-place. More... | |
class | monostate |
Used to represent an optional with no data; essentially a bool. More... | |
struct | nullopt_t |
A tag type to represent an empty optional. More... | |
class | optional |
class | optional< T & > |
Functions | |
template<class T , class... Args> | |
constexpr optional< T > | make_optional (Args &&... args) |
template<class T , class U , class... Args> | |
constexpr optional< T > | make_optional (std::initializer_list< U > il, Args &&... args) |
template<class T = detail::i_am_secret, class U , class Ret = detail::conditional_t<std::is_same<T, detail::i_am_secret>::value, detail::decay_t<U>, T>> | |
constexpr optional< Ret > | make_optional (U &&v) |
template<class T , class U > | |
constexpr bool | operator!= (const optional< T > &lhs, const optional< U > &rhs) |
template<class T , class U > | |
constexpr bool | operator!= (const optional< T > &lhs, const U &rhs) |
template<class T > | |
constexpr bool | operator!= (const optional< T > &lhs, nullopt_t) noexcept |
template<class T , class U > | |
constexpr bool | operator!= (const U &lhs, const optional< T > &rhs) |
template<class T > | |
constexpr bool | operator!= (nullopt_t, const optional< T > &rhs) noexcept |
template<class T > | |
constexpr bool | operator< (const optional< T > &, nullopt_t) noexcept |
template<class T , class U > | |
constexpr bool | operator< (const optional< T > &lhs, const optional< U > &rhs) |
template<class T , class U > | |
constexpr bool | operator< (const optional< T > &lhs, const U &rhs) |
template<class T , class U > | |
constexpr bool | operator< (const U &lhs, const optional< T > &rhs) |
template<class T > | |
constexpr bool | operator< (nullopt_t, const optional< T > &rhs) noexcept |
template<class T , class U > | |
constexpr bool | operator<= (const optional< T > &lhs, const optional< U > &rhs) |
template<class T , class U > | |
constexpr bool | operator<= (const optional< T > &lhs, const U &rhs) |
template<class T > | |
constexpr bool | operator<= (const optional< T > &lhs, nullopt_t) noexcept |
template<class T , class U > | |
constexpr bool | operator<= (const U &lhs, const optional< T > &rhs) |
template<class T > | |
constexpr bool | operator<= (nullopt_t, const optional< T > &) noexcept |
template<class T , class U > | |
constexpr bool | operator== (const optional< T > &lhs, const optional< U > &rhs) |
Compares two optional objects. More... | |
template<class T , class U > | |
constexpr bool | operator== (const optional< T > &lhs, const U &rhs) |
Compares the optional with a value. More... | |
template<class T > | |
constexpr bool | operator== (const optional< T > &lhs, nullopt_t) noexcept |
Compares an optional to a nullopt More... | |
template<class T , class U > | |
constexpr bool | operator== (const U &lhs, const optional< T > &rhs) |
template<class T > | |
constexpr bool | operator== (nullopt_t, const optional< T > &rhs) noexcept |
template<class T , class U > | |
constexpr bool | operator> (const optional< T > &lhs, const optional< U > &rhs) |
template<class T , class U > | |
constexpr bool | operator> (const optional< T > &lhs, const U &rhs) |
template<class T > | |
constexpr bool | operator> (const optional< T > &lhs, nullopt_t) noexcept |
template<class T , class U > | |
constexpr bool | operator> (const U &lhs, const optional< T > &rhs) |
template<class T > | |
constexpr bool | operator> (nullopt_t, const optional< T > &) noexcept |
template<class T > | |
constexpr bool | operator>= (const optional< T > &, nullopt_t) noexcept |
template<class T , class U > | |
constexpr bool | operator>= (const optional< T > &lhs, const optional< U > &rhs) |
template<class T , class U > | |
constexpr bool | operator>= (const optional< T > &lhs, const U &rhs) |
template<class T , class U > | |
constexpr bool | operator>= (const U &lhs, const optional< T > &rhs) |
template<class T > | |
constexpr bool | operator>= (nullopt_t, const optional< T > &rhs) noexcept |
template<class T , detail::enable_if_t< std::is_move_constructible< T >::value > * = nullptr, detail::enable_if_t< detail::is_swappable< T >::value > * = nullptr> | |
void | swap (optional< T > &lhs, optional< T > &rhs) noexcept(noexcept(lhs.swap(rhs))) |
Variables | |
static constexpr in_place_t | in_place {} |
A tag to tell optional to construct its value in-place. More... | |
static constexpr nullopt_t | nullopt |
Represents an empty optional. More... | |
|
inlineconstexpr |
Definition at line 1492 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Definition at line 1496 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Definition at line 1487 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Definition at line 1345 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Definition at line 1431 of file 3rdparty/tl/optional.hpp.
|
inlineconstexprnoexcept |
Definition at line 1381 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Definition at line 1435 of file 3rdparty/tl/optional.hpp.
|
inlineconstexprnoexcept |
Definition at line 1385 of file 3rdparty/tl/optional.hpp.
|
inlineconstexprnoexcept |
Definition at line 1389 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Definition at line 1351 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Definition at line 1439 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Definition at line 1443 of file 3rdparty/tl/optional.hpp.
|
inlineconstexprnoexcept |
Definition at line 1393 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Definition at line 1361 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Definition at line 1447 of file 3rdparty/tl/optional.hpp.
|
inlineconstexprnoexcept |
Definition at line 1397 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Definition at line 1451 of file 3rdparty/tl/optional.hpp.
|
inlineconstexprnoexcept |
Definition at line 1401 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Compares two optional objects.
Definition at line 1339 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Compares the optional with a value.
Definition at line 1423 of file 3rdparty/tl/optional.hpp.
|
inlineconstexprnoexcept |
Compares an optional to a nullopt
Definition at line 1373 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Definition at line 1427 of file 3rdparty/tl/optional.hpp.
|
inlineconstexprnoexcept |
Definition at line 1377 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Definition at line 1356 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Definition at line 1455 of file 3rdparty/tl/optional.hpp.
|
inlineconstexprnoexcept |
Definition at line 1405 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Definition at line 1459 of file 3rdparty/tl/optional.hpp.
|
inlineconstexprnoexcept |
Definition at line 1409 of file 3rdparty/tl/optional.hpp.
|
inlineconstexprnoexcept |
Definition at line 1413 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Definition at line 1366 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Definition at line 1463 of file 3rdparty/tl/optional.hpp.
|
inlineconstexpr |
Definition at line 1467 of file 3rdparty/tl/optional.hpp.
|
inlineconstexprnoexcept |
Definition at line 1417 of file 3rdparty/tl/optional.hpp.
|
noexcept |
Definition at line 1474 of file 3rdparty/tl/optional.hpp.
|
staticconstexpr |
A tag to tell optional to construct its value in-place.
Definition at line 117 of file 3rdparty/tl/optional.hpp.
|
staticconstexpr |
Represents an empty optional.
Definition at line 663 of file 3rdparty/tl/optional.hpp.