Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bslstl::Optional_OptNoSuchType Struct Reference

#include <bslstl_optional.h>

List of all members.

Public Member Functions

BSLS_KEYWORD_CONSTEXPR Optional_OptNoSuchType (int) BSLS_KEYWORD_NOEXCEPT

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

See Component bslstl_optional


Constructor & Destructor Documentation

BSLS_KEYWORD_CONSTEXPR bslstl::Optional_OptNoSuchType::Optional_OptNoSuchType ( int   )  [inline, explicit]

Create an Optional_OptNoSuchType object. Note that the argument is not used.


The documentation for this struct was generated from the following file: