BloombergLP::bslstl::Optional_OptNoSuchType

This component-private trivial tag type is used to distinguish between arguments passed by a user, and an enable_if argument. It is not default constructible so the following construction never invokes a constrained single parameter constructor: ` optional<SomeType> o(int, {}); `

Synopsis

Declared in <bslstl_optional.h>

struct Optional_OptNoSuchType;

Member Functions

NameDescription
Optional_OptNoSuchType [constructor]Create an Optional_OptNoSuchType object. Note that the argument is not used.