MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
mtcore::Nullopt Struct Reference

Placeholder value for any empty Optional (similar to std::nullopt) More...

#include <optional.hpp>

Public Member Functions

template<typename T>
 operator Optional< T > () const
 

Detailed Description

Placeholder value for any empty Optional (similar to std::nullopt)

Definition at line 398 of file optional.hpp.

Member Function Documentation

◆ operator Optional< T >()

template<typename T>
mtcore::Nullopt::operator Optional< T > ( ) const
inline

Definition at line 400 of file optional.hpp.

400 {
401 return Optional<T>{};
402 }

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