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_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

## make_optional()

template<typename T >

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

Definition at line 1736 of file optional.hpp.

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

template<typename T >

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

inline

Definition at line 1569 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 1563 of file optional.hpp.

## operator!=() [3/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 1519 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 1637 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 1643 of file optional.hpp.

## operator<() [1/5]

template<typename T >

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

inline

Definition at line 1581 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 1575 of file optional.hpp.

## operator<() [3/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 1525 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 1649 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 1655 of file optional.hpp.

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

template<typename T >

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

inline

Definition at line 1593 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 1587 of file optional.hpp.

## operator<=() [3/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 1537 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 1661 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 1667 of file optional.hpp.

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

template<typename T >

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

inline

Definition at line 1557 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 1551 of file optional.hpp.

## operator==() [3/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 1513 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 1625 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 1631 of file optional.hpp.

## operator>() [1/5]

template<typename T >

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

inline

Definition at line 1605 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 1599 of file optional.hpp.

## operator>() [3/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 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 1673 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 1679 of file optional.hpp.

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

template<typename T >

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

inline

Definition at line 1617 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 1611 of file optional.hpp.

## operator>=() [3/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 1543 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 1685 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 1691 of file optional.hpp.

## swap()

template<typename T >

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

Definition at line 1705 of file optional.hpp.

## Variable Documentation

## nullopt

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