General Utility Library for C++14  2.12
gul14::optional< T > Class Template Reference

Detailed Description

template<class T>
class gul14::optional< T >

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.

Since
GUL version 1.5

#include <optional.h>

Inherits OptionalBase< T >.


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