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: ` struct SomeType { SomeType(int, const std::string &s = "default"){} };

Synopsis

Declared in <bslstl_variant.h>

struct Variant_NoSuchType;

Description

variant<SomeType> o(1, {}); `

Member Functions

Name

Description

Variant_NoSuchType [constructor]

Create a Variant_NoSuchType object.

Created with MrDocs