Corrade/Containers/Optional.h file

Class Corrade::Containers::Optional, tag type Corrade::Containers::NullOptT, tag Corrade::Containers::NullOpt, function Corrade::Containers::optional()

Namespaces

namespace Corrade
Root namespace.
namespace Corrade::Containers
Container implementations.

Classes

struct Corrade::Containers::NullOptT
Null optional initialization tag type.
template<class T>
class Corrade::Containers::Optional
Lightweight optional value.

Functions

template<class T>
auto optional(T&& value) -> Optional<typename std::decay<T>::type>
Make an optional.
template<class T, class ... Args>
auto optional(Args && ... args) -> Optional<T>
Make an optional.
template<class T>
auto optional(T&& other) -> auto
Make an optional from external representation.

Variables

NullOptT NullOpt constexpr
Null optional initialization tag.