aurora::NulloptType Struct Reference

Null literal for optional objects. More...

Detailed Description

Null literal for optional objects.

aurora::nullopt can be used to expressively refer to empty optionals. It is convertible to aurora::Optional<T> instances of any type T.

{
if (...)
return MyClass(...);
else
return aurora::nullopt;
}

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