LocalGuidance
A library that generates velocity references to follow a path.
std_utils::ctm_concatenate< KeyType_, ValueType_, Map1_, Map2_ > Struct Template Reference

Default implementation of map concatenation. More...

#include <CompileTimeMap.hpp>

Public Types

using type = CompileTimeMap< KeyType_, ValueType_ >
 IDE helper type. More...
 

Detailed Description

template<typename KeyType_, typename ValueType_, typename Map1_, typename Map2_>
struct std_utils::ctm_concatenate< KeyType_, ValueType_, Map1_, Map2_ >

Default implementation of map concatenation.

In the following some useful helper traits to modify maps are provided.

IDE Support: To make it easier for the IDE's to deduce the type of the output map, we always pass the KeyType_ and the ValueType_ to these traits as template parameters. They could also be auto-deduced. Furthermore in the default implementation of the traits we add a 'type' typedef that defines a default (empty) map.

Compiler Output: To increase compiler output quality slightly, static_asserts are added in the default implementation of the traits. They will always fail, since the default implementation is not valid. Still compiler outputs are hard to read for CompileTimeMaps.

Template Parameters
KeyType_Key type of the maps
ValueType_Value type of the maps
Map1_First Map
Map2_Second Map

Member Typedef Documentation

template<typename KeyType_ , typename ValueType_ , typename Map1_ , typename Map2_ >
using std_utils::ctm_concatenate< KeyType_, ValueType_, Map1_, Map2_ >::type = CompileTimeMap<KeyType_, ValueType_>

IDE helper type.


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