Quick Links: |
#include <bslstl_optional.h>
Public Member Functions | |
BSLS_KEYWORD_CONSTEXPR | Optional_OptNoSuchType (int) BSLS_KEYWORD_NOEXCEPT |
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, {});
BSLS_KEYWORD_CONSTEXPR bslstl::Optional_OptNoSuchType::Optional_OptNoSuchType | ( | int | ) | [inline, explicit] |
Create an Optional_OptNoSuchType
object. Note that the argument is not used.