|
BDE 4.39.x Production Release
|
#include <bslstl_optional.h>
This trivial tag type is used to create optional objects in a disengaged state. It uses a constructor template to avoid being constructible from any braced list. See implementation notes for more information.
See bslstl_optional
Public Member Functions | |
| template<class t_TYPE > | |
| BSLS_KEYWORD_CONSTEXPR | nullopt_t (t_TYPE, typename enable_if< is_same< t_TYPE, BloombergLP::bslstl::Optional_NulloptConstructToken >::value, int >::type=0) BSLS_KEYWORD_NOEXCEPT |
|
inlineexplicit |
Create a nullopt_t object.