BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslstl_inplace

Detailed Description

Outline

Purpose

Provide a standard-compliant in place construction tag types.

Classes

Canonical header: bsl_utility.h

Description

This component provides an implementation of standard compliant tag types for in-place construction: bsl::in_place_t, bsl::in_place_type_t, and bsl::in_place_index_t. Tag type bsl::in_place_t is used in constructors of bsl::optional to indicate that the contained object should be constructed in-place. Tag type bsl::in_place_type_t<TYPE> is used in constructors of bsl::variant to indicate that the object of type TYPE should be constructed in-place. Tag type bsl::in_place_index_t<INDEX> is used in constructors of bsl::variant to indicate that the alternative with index INDEX should be constructed in-place.

See also
bslstl_optional, bslstl_variant