Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
openlcb::EntryMarker< N > Class Template Reference

Helper class for partial template specialization. More...

#include <ConfigRepresentation.hxx>

Detailed Description

template<int N>
class openlcb::EntryMarker< N >

Helper class for partial template specialization.

EntryMarker<N> is used as an argument to invoke specific instances of polymorphic functions, thereby enabling a form of dynamically constructing a procedure from code generated by macros in different places. Typical pattern is to have a function foo(const EntryMarker<N>&) do something internally and then call foo(EntryMarker<N-1>()) to proceed to the next item. Once all these are inlined, we get a single function.

Definition at line 66 of file ConfigRepresentation.hxx.

Constructor & Destructor Documentation

◆ EntryMarker()

template<int N>
constexpr openlcb::EntryMarker< N >::EntryMarker ( )
inlineconstexpr

Definition at line 69 of file ConfigRepresentation.hxx.


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