Loading...
Searching...
No Matches
nonstd::optional_lite Namespace Reference

## Namespaces

namespace | detail
namespace | std11

## Classes

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

## Functions

template<typename T , typename U >
optional_nodiscard optional_constexpr bool | operator== (optional< T > const &x, optional< U > const &y)
template<typename T , typename U >
optional_nodiscard optional_constexpr bool | operator!= (optional< T > const &x, optional< U > const &y)
template<typename T , typename U >
optional_nodiscard optional_constexpr bool | operator< (optional< T > const &x, optional< U > const &y)
template<typename T , typename U >
optional_nodiscard optional_constexpr bool | operator> (optional< T > const &x, optional< U > const &y)
template<typename T , typename U >
optional_nodiscard optional_constexpr bool | operator<= (optional< T > const &x, optional< U > const &y)
template<typename T , typename U >
optional_nodiscard optional_constexpr bool | operator>= (optional< T > const &x, optional< U > const &y)
template<typename T >
optional_nodiscard optional_constexpr bool | operator== (optional< T > const &x, nullopt_t) optional_noexcept
template<typename T >
optional_nodiscard optional_constexpr bool | operator== (nullopt_t, optional< T > const &x) optional_noexcept
template<typename T >
optional_nodiscard optional_constexpr bool | operator!= (optional< T > const &x, nullopt_t) optional_noexcept
template<typename T >
optional_nodiscard optional_constexpr bool | operator!= (nullopt_t, optional< T > const &x) optional_noexcept
template<typename T >
optional_nodiscard optional_constexpr bool | operator< (optional< T > const &, nullopt_t) optional_noexcept
template<typename T >
optional_nodiscard optional_constexpr bool | operator< (nullopt_t, optional< T > const &x) optional_noexcept
template<typename T >
optional_nodiscard optional_constexpr bool | operator<= (optional< T > const &x, nullopt_t) optional_noexcept
template<typename T >
optional_nodiscard optional_constexpr bool | operator<= (nullopt_t, optional< T > const &) optional_noexcept
template<typename T >
optional_nodiscard optional_constexpr bool | operator> (optional< T > const &x, nullopt_t) optional_noexcept
template<typename T >
optional_nodiscard optional_constexpr bool | operator> (nullopt_t, optional< T > const &) optional_noexcept
template<typename T >
optional_nodiscard optional_constexpr bool | operator>= (optional< T > const &, nullopt_t) optional_noexcept
template<typename T >
optional_nodiscard optional_constexpr bool | operator>= (nullopt_t, optional< T > const &x) optional_noexcept
template<typename T , typename U >
optional_nodiscard optional_constexpr bool | operator== (optional< T > const &x, U const &v)
template<typename T , typename U >
optional_nodiscard optional_constexpr bool | operator== (U const &v, optional< T > const &x)
template<typename T , typename U >
optional_nodiscard optional_constexpr bool | operator!= (optional< T > const &x, U const &v)
template<typename T , typename U >
optional_nodiscard optional_constexpr bool | operator!= (U const &v, optional< T > const &x)
template<typename T , typename U >
optional_nodiscard optional_constexpr bool | operator< (optional< T > const &x, U const &v)
template<typename T , typename U >
optional_nodiscard optional_constexpr bool | operator< (U const &v, optional< T > const &x)
template<typename T , typename U >
optional_nodiscard optional_constexpr bool | operator<= (optional< T > const &x, U const &v)
template<typename T , typename U >
optional_nodiscard optional_constexpr bool | operator<= (U const &v, optional< T > const &x)
template<typename T , typename U >
optional_nodiscard optional_constexpr bool | operator> (optional< T > const &x, U const &v)
template<typename T , typename U >
optional_nodiscard optional_constexpr bool | operator> (U const &v, optional< T > const &x)
template<typename T , typename U >
optional_nodiscard optional_constexpr bool | operator>= (optional< T > const &x, U const &v)
template<typename T , typename U >
optional_nodiscard 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

## make_optional()

template<typename T >

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

Definition at line 1795 of file optional.hpp.

## operator!=() [1/5]

template<typename T >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator!= | ( | nullopt_t | ,
|  | optional< T > const & | x
| ) |  |

Definition at line 1628 of file optional.hpp.

## operator!=() [2/5]

template<typename T >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator!= | ( | optional< T > const & | x,
|  | nullopt_t |
| ) |  |

Definition at line 1622 of file optional.hpp.

## operator!=() [3/5]

template<typename T , typename U >

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

Definition at line 1578 of file optional.hpp.

## operator!=() [4/5]

template<typename T , typename U >

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

Definition at line 1696 of file optional.hpp.

## operator!=() [5/5]

template<typename T , typename U >

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

Definition at line 1702 of file optional.hpp.

## operator<() [1/5]

template<typename T >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator< | ( | nullopt_t | ,
|  | optional< T > const & | x
| ) |  |

Definition at line 1640 of file optional.hpp.

## operator<() [2/5]

template<typename T >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator< | ( | optional< T > const & | ,
|  | nullopt_t |
| ) |  |

Definition at line 1634 of file optional.hpp.

## operator<() [3/5]

template<typename T , typename U >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator< | ( | optional< T > const & | x,
|  | optional< U > const & | y
| ) |  |

Definition at line 1584 of file optional.hpp.

## operator<() [4/5]

template<typename T , typename U >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator< | ( | optional< T > const & | x,
|  | U const & | v
| ) |  |

Definition at line 1708 of file optional.hpp.

## operator<() [5/5]

template<typename T , typename U >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator< | ( | U const & | v,
|  | optional< T > const & | x
| ) |  |

Definition at line 1714 of file optional.hpp.

## operator<=() [1/5]

template<typename T >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator<= | ( | nullopt_t | ,
|  | optional< T > const & |
| ) |  |

Definition at line 1652 of file optional.hpp.

## operator<=() [2/5]

template<typename T >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator<= | ( | optional< T > const & | x,
|  | nullopt_t |
| ) |  |

Definition at line 1646 of file optional.hpp.

## operator<=() [3/5]

template<typename T , typename U >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator<= | ( | optional< T > const & | x,
|  | optional< U > const & | y
| ) |  |

Definition at line 1596 of file optional.hpp.

## operator<=() [4/5]

template<typename T , typename U >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator<= | ( | optional< T > const & | x,
|  | U const & | v
| ) |  |

Definition at line 1720 of file optional.hpp.

## operator<=() [5/5]

template<typename T , typename U >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator<= | ( | U const & | v,
|  | optional< T > const & | x
| ) |  |

Definition at line 1726 of file optional.hpp.

## operator==() [1/5]

template<typename T >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator== | ( | nullopt_t | ,
|  | optional< T > const & | x
| ) |  |

Definition at line 1616 of file optional.hpp.

## operator==() [2/5]

template<typename T >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator== | ( | optional< T > const & | x,
|  | nullopt_t |
| ) |  |

Definition at line 1610 of file optional.hpp.

## operator==() [3/5]

template<typename T , typename U >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator== | ( | optional< T > const & | x,
|  | optional< U > const & | y
| ) |  |

Definition at line 1572 of file optional.hpp.

## operator==() [4/5]

template<typename T , typename U >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator== | ( | optional< T > const & | x,
|  | U const & | v
| ) |  |

Definition at line 1684 of file optional.hpp.

## operator==() [5/5]

template<typename T , typename U >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator== | ( | U const & | v,
|  | optional< T > const & | x
| ) |  |

Definition at line 1690 of file optional.hpp.

## operator>() [1/5]

template<typename T >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator> | ( | nullopt_t | ,
|  | optional< T > const & |
| ) |  |

Definition at line 1664 of file optional.hpp.

## operator>() [2/5]

template<typename T >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator> | ( | optional< T > const & | x,
|  | nullopt_t |
| ) |  |

Definition at line 1658 of file optional.hpp.

## operator>() [3/5]

template<typename T , typename U >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator> | ( | optional< T > const & | x,
|  | optional< U > const & | y
| ) |  |

Definition at line 1590 of file optional.hpp.

## operator>() [4/5]

template<typename T , typename U >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator> | ( | optional< T > const & | x,
|  | U const & | v
| ) |  |

Definition at line 1732 of file optional.hpp.

## operator>() [5/5]

template<typename T , typename U >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator> | ( | U const & | v,
|  | optional< T > const & | x
| ) |  |

Definition at line 1738 of file optional.hpp.

## operator>=() [1/5]

template<typename T >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator>= | ( | nullopt_t | ,
|  | optional< T > const & | x
| ) |  |

Definition at line 1676 of file optional.hpp.

## operator>=() [2/5]

template<typename T >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator>= | ( | optional< T > const & | ,
|  | nullopt_t |
| ) |  |

Definition at line 1670 of file optional.hpp.

## operator>=() [3/5]

template<typename T , typename U >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator>= | ( | optional< T > const & | x,
|  | optional< U > const & | y
| ) |  |

Definition at line 1602 of file optional.hpp.

## operator>=() [4/5]

template<typename T , typename U >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator>= | ( | optional< T > const & | x,
|  | U const & | v
| ) |  |

Definition at line 1744 of file optional.hpp.

## operator>=() [5/5]

template<typename T , typename U >

optional_nodiscard optional_constexpr bool nonstd::optional_lite::operator>= | ( | U const & | v,
|  | optional< T > const & | x
| ) |  |

Definition at line 1750 of file optional.hpp.

## swap()

template<typename T >

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

Definition at line 1764 of file optional.hpp.

## Variable Documentation

## nullopt

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