iceoryx_doc  1.0.1
Static Public Attributes | List of all members
iox::cxx::in_place_index< N > Struct Template Reference

helper struct to perform an emplacement at a predefined index in the constructor of a variant More...

#include <variant.hpp>

Static Public Attributes

static constexpr uint64_t value = N
 

Detailed Description

template<uint64_t N>
struct iox::cxx::in_place_index< N >

helper struct to perform an emplacement at a predefined index in the constructor of a variant

Parameters
[in]Nindex where to perform the placement new
cxx::variant<int, float, int> someVariant(cxx::in_place_index<2>(), 42);

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