General Utility Library for C++14
2.12
|
A class template that can either contain a value of a certain type or not.
The GUL version is an adaptation of the reference implementation for the original C++ standard proposal (see optional.h) and should behave like std::optional from C++17 for almost all use cases.
#include <optional.h>
Inherits OptionalBase< T >.