src/Base/TaggedTuple.hpp file

Tagged tuple allowing tag-based access.

Contents

Tagged tuple allowing tag-based access. This is very much like std::tuple, but instead of having to index the elements by integers, it allows access by a tag, which can be an empty struct with a unique name. Credit goes to ecatmur_at_stackoverflow.com, for more details, see http://stackoverflow.com/questions/13065166/c11-tagged-tuple.

Namespaces

namespace tk
Toolkit declarations and definitions for general purpose utilities.

Classes

template<class List>
class tk::TaggedTuple
Tagged tuple, allowing tag-based access.

Defines

#define DEFTAG(n)
Printable tag for TaggedTuple that returns its name.