Support Class Library
A set of tools providing classes and utility
Namespaces | Functions
optional.h File Reference
#include <scl/utils/Optional.h>
#include <utility>
#include <scl/tools/make/from.h>

Go to the source code of this file.

Namespaces

 scl
 Global namespace of the SCL.
 
 scl::tools
 General purpose tooling.
 
 scl::tools::make
 Group of factory functions.
 

Functions

template<class T , class... Args>
constexpr scl::utils::Optional< T > scl::tools::make::optional (Args &&... args)
 Creates an scl::utils::Optional with a constructed value. More...
 
template<class T >
constexpr scl::utils::Optional< T > scl::tools::make::emptyOptional ()
 Creates an empty optional. More...
 
template<class T , class... Args>
constexpr scl::utils::Optional< T > scl::tools::make::some (Args &&... args)
 Alias for scl::tools::make::optional. More...
 
template<class T >
constexpr scl::utils::Optional< T > scl::tools::make::none ()
 Alias for scl::tools::make::emptyOptional. More...
 
template<class T >
constexpr scl::utils::Optional< T > scl::tools::make::optionalFromPointer (const T *ptr)
 Creates an optional from a pointer. More...