Tag type distinguishing user arguments from enable_if defaults.

Synopsis

Declared in <bslstl_optional.h>

struct Optional_OptNoSuchType;

Description

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, {}); `

Member Functions

Name

Description

Optional_OptNoSuchType [constructor]

Create an Optional_OptNoSuchType object.

Created with MrDocs