bn_optional.h file

Contents

bn::optional implementation header file.

Namespaces

namespace bn
Main Butano namespace.

Classes

class bn::nullopt_t
Empty class type used to indicate an optional type with uninitialized state.
template<typename Type>
class bn::optional
Manages an optional contained value (a value that may or may not be present).
template<typename Type>
struct bn::hash<optional<Type>>
Hash support for optional.