Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
tuple-diagnostics.hpp File Reference

an extension to typelist-diagnostics.hpp, allowing to dump the contents of a Tuple datatype. More...

Go to the source code of this file.

Description

an extension to typelist-diagnostics.hpp, allowing to dump the contents of a Tuple datatype.

With the help of our generic string converter, and the BuildTupleAccessor defined within tuple-helper.hpp, we're able to show the type and contents of any data record based on std::tuple. For unit-testing, special formatting is provided for the Num<int> test types, which makes typelist and tuples of these types a good candidate for tests.

See also
TupleHelper_test
FunctionClosure_test
TypelistManip_test

Definition in file tuple-diagnostics.hpp.

#include "meta/typelist-diagnostics.hpp"
#include "lib/meta/tuple-helper.hpp"
#include "lib/format-string.hpp"
#include "lib/format-obj.hpp"
#include <string>

Namespaces

namespace  util
 
namespace  lib
 Implementation namespace for support and library code.
 
namespace  lib::meta
 
namespace  lib::meta::test
 

Classes

struct  StringConv< lib::meta::Num< i > >
 

Functions

template<tuple_like TUP>
string showType ()