neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
i_optional.hpp File Reference
#include <neolib/neolib.hpp>
#include <optional>
#include <stdexcept>
#include <neolib/core/i_reference_counted.hpp>

Go to the source code of this file.

Classes

struct  neolib::is_optional< T >
 
struct  neolib::is_optional< i_optional< T > >
 
class  neolib::i_optional< T >
 

Namespaces

namespace  neolib
 

Functions

template<typename T , typename U , typename = std::enable_if_t<!is_optional_v<U>, sfinae>>
bool neolib::operator== (const i_optional< T > &lhs, const U &rhs)
 
template<typename T , typename U , typename = std::enable_if_t<!is_optional_v<U>, sfinae>>
bool neolib::operator== (const U &lhs, const i_optional< T > &rhs)
 
template<typename T , typename U , typename = std::enable_if_t<!is_optional_v<U>, sfinae>>
std::partial_ordering neolib::operator<=> (const i_optional< T > &lhs, const U &rhs)
 
template<typename T , typename U , typename = std::enable_if_t<!is_optional_v<U>, sfinae>>
std::partial_ordering neolib::operator<=> (const U &lhs, const i_optional< T > &rhs)
 

Variables

template<typename T >
constexpr bool neolib::is_optional_v = is_optional<T>::value