BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsl::in_place_index_t< INDEX > Struct Template Reference

#include <bslstl_inplace.h>

Public Member Functions

BSLS_KEYWORD_CONSTEXPR in_place_index_t () BSLS_KEYWORD_NOEXCEPT
 

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.

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: