A library that generates velocity references to follow a path.
std_utils::cts_concatenate< Type_, Set1_, Set2_ > Struct Template Reference

Default implementation of set concatenation. More...

#include <CompileTimeSet.hpp>

Public Types

using type = CompileTimeSet< Type_ >
 IDE helper type. More...

Detailed Description

template<typename Type_, typename Set1_, typename Set2_>
struct std_utils::cts_concatenate< Type_, Set1_, Set2_ >

Default implementation of set concatenation.

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

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

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 CompileTimeSets.

Template Parameters
Type_Type of the set entries
Set1_First Map
Set2_Second Map

Member Typedef Documentation

◆ type

template<typename Type_ , typename Set1_ , typename Set2_ >
using std_utils::cts_concatenate< Type_, Set1_, Set2_ >::type = CompileTimeSet<Type_>

IDE helper type.

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