Lumiera
0.pre.03
»edit your freedom«
|
Go to the source code of this file.
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.
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>
Classes | |
struct | StringConv< lib::meta::Num< i > > |
Functions | |
template<typename TUP > | |
enable_if< is_Tuple< TUP >, string > | showType () |
Namespaces | |
lib | |
Implementation namespace for support and library code. | |