tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
in_place_t Struct Reference

Disambiguation tags that can be passed to the constructors of optional, variant, and any to indicate that the contained object should be constructed in-place, and (for the latter two) the type of the object to be constructed. More...

#include <etl/utility.hpp>

Public Member Functions

 in_place_t ()=default
 

Related Symbols

(Note that these are not member symbols.)

constexpr auto in_place = in_place_t{}
 

Detailed Description

Disambiguation tags that can be passed to the constructors of optional, variant, and any to indicate that the contained object should be constructed in-place, and (for the latter two) the type of the object to be constructed.

The corresponding type/type templates in_place_t, in_place_type_t and in_place_index_t can be used in the constructor's parameter list to match the intended tag.

Constructor & Destructor Documentation

◆ in_place_t()

in_place_t ( )
explicitdefault

Friends And Related Symbol Documentation

◆ in_place

auto in_place = in_place_t{}
related

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