$darkmode
fable::schema::is_optional< T > Struct Template Reference

#include <optional.hpp>

Inheritance diagram for fable::schema::is_optional< T >:
Collaboration diagram for fable::schema::is_optional< T >:

Detailed Description

template<typename T>
struct fable::schema::is_optional< T >

Helper type trait class to use with std::enable_if and friends.

The value is_optional<T>::value is true if T is one of:

  • std::optional
  • boost::optional, if boost_optional.hpp is included
See also
fable/schema/boost_optional.hpp

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