Optional.h#

Fully qualified name: carb/cpp/Optional.h

In directory: carb/cpp

Source file: Optional.h

C++14-compatible implementation of select functionality from C++ <optional> library.

Classes#

carb::cpp::bad_optional_access

Exception object identifying that an invalid use of an optional object was made.

carb::cpp::optional

Template class to identify an optional value.

Namespaces#

carb

The main Carbonite namespace.

carb::cpp

Namespace for C++ standard library types after C++14 implemented and usable by C++14 compilers.

Structs#

carb::cpp::nullopt_t

Identifies an empty optional object. This can be used to initialize or reinitialize an empty optional object as needed.