|
dot-xx
A personal collection of small C++ modules
|
The namespace for heap-allocated replacements for some standard library classes. More...
Classes | |
| class | Option |
| An std::optional replacement with heap-allocated storage. More... | |
Functions | |
| template<typename T, std::three_way_comparable_with< T > U> | |
| constexpr std::compare_three_way_result_t< T, U > | operator<=> (const Option< T > &lhs, const Option< U > &rhs) |
| template<typename T> | |
| constexpr std::compare_three_way_result_t< bool, bool > | operator<=> (const Option< T > &lhs, std::nullopt_t) |
| template<typename T, typename U> | |
| constexpr std::compare_three_way_result_t< T, U > | operator<=> (const Option< T > &lhs, const U &rhs) |
| template<typename T, std::equality_comparable_with< T > U> | |
| constexpr bool | operator== (const Option< T > &lhs, const Option< U > &rhs) |
| template<typename T, std::equality_comparable_with< T > U> | |
| constexpr bool | operator== (const Option< T > &lhs, const U &rhs) |
| template<typename T> | |
| constexpr bool | operator== (const Option< T > &lhs, std::nullopt_t) |
The namespace for heap-allocated replacements for some standard library classes.