BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bsl::in_place_index_t< INDEX > Struct Template Reference

#include <bslstl_inplace.h>

Detailed Description

template<size_t INDEX>
struct bsl::in_place_index_t< INDEX >

This trivial tag type is passed to the constructors of bsl::variant to indicate the index of the alternative to create.

See bslstl_inplace

Public Member Functions

BSLS_KEYWORD_CONSTEXPR in_place_index_t () BSLS_KEYWORD_NOEXCEPT
 

Constructor & Destructor Documentation

◆ in_place_index_t()

template<size_t INDEX>
BSLS_KEYWORD_CONSTEXPR bsl::in_place_index_t< INDEX >::in_place_index_t ( )
inlineexplicit

Create an in_place_index_t object. This constructor is trivial if the platform supports defaulted special member functions.


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