Extended MaximInterface

Dependents:   mbed_DS28EC20_GPIO

Embed: (wiki syntax)

« Back to documentation index

optional< T > Class Template Reference

optional< T > Class Template Reference

Optional value container similar to std::optional. More...

#include <optional.hpp>


Detailed Description

template<typename T>
class MaximInterface::optional< T >

Optional value container similar to std::optional.

To prevent the need for aligned storage, this implementation imposes that types must be DefaultConstructible, CopyConstructible, and CopyAssignable. No exceptions are thrown when accessing a valueless optional.

Definition at line 55 of file optional.hpp.