enum_name
Loading...
Searching...
No Matches
Public Member Functions | List of all members
mgutility::nullopt_t Struct Reference

Represents a null optional. More...

#include <optional.hpp>

Public Member Functions

template<typename T >
MGUTILITY_CNSTXPR operator optional< T > ()
 Converts nullopt_t to an empty optional.
 

Detailed Description

Represents a null optional.

Member Function Documentation

◆ operator optional< T >()

template<typename T >
MGUTILITY_CNSTXPR mgutility::nullopt_t::operator optional< T > ( )
inline

Converts nullopt_t to an empty optional.

Template Parameters
TThe type of the optional.
Returns
An empty optional.

The documentation for this struct was generated from the following file: