CARLA
Public Types | Static Public Attributes | List of all members
carla::sensor::detail::CompileTimeTypeMapImpl< Size, std::pair< Key, Value >, Rest... >::get< InKey > Struct Template Reference

#include <CompileTimeTypeMap.h>

+ Collaboration diagram for carla::sensor::detail::CompileTimeTypeMapImpl< Size, std::pair< Key, Value >, Rest... >::get< InKey >:

Public Types

using type = typename std::conditional< std::is_same< InKey, Key >::value, Value, typename CompileTimeTypeMapImpl< Size, Rest... >::template get< InKey >::type >::type
 

Static Public Attributes

static constexpr size_t index
 

Detailed Description

template<size_t Size, typename Key, typename Value, typename... Rest>
template<typename InKey>
struct carla::sensor::detail::CompileTimeTypeMapImpl< Size, std::pair< Key, Value >, Rest... >::get< InKey >

Definition at line 48 of file CompileTimeTypeMap.h.

Member Typedef Documentation

◆ type

template<size_t Size, typename Key , typename Value , typename... Rest>
template<typename InKey>
using carla::sensor::detail::CompileTimeTypeMapImpl< Size, std::pair< Key, Value >, Rest... >::get< InKey >::type = typename std::conditional< std::is_same<InKey, Key>::value, Value, typename CompileTimeTypeMapImpl<Size, Rest...>::template get<InKey>::type >::type

Definition at line 53 of file CompileTimeTypeMap.h.

Member Data Documentation

◆ index

template<size_t Size, typename Key , typename Value , typename... Rest>
template<typename InKey>
constexpr size_t carla::sensor::detail::CompileTimeTypeMapImpl< Size, std::pair< Key, Value >, Rest... >::get< InKey >::index
static
Initial value:
=
std::is_same<InKey, Key>::value ?
CompileTimeTypeMapImpl<Size, Rest...>::template get<InKey>::index

Definition at line 54 of file CompileTimeTypeMap.h.


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