iox::cxx::in_place_type🔗
helper struct to perform an emplacement of a predefined type in in the constructor of a variant More...
#include <variant.hpp>
Public Types🔗
Name | |
---|---|
using T | type |
Detailed Description🔗
template <typename T >
struct iox::cxx::in_place_type;
helper struct to perform an emplacement of a predefined type in in the constructor of a variant
Parameters:
- T type which should be created
cxx::variant<int, float, double> someVariant(cxx::in_place_type<float>(), 123.456f);
Public Types Documentation🔗
using type🔗
using iox::cxx::in_place_type< T >::type = T;
Updated on 31 May 2022 at 15:52:33 CEST