![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
verify the proper working of simple type sequence manipulations. More...
Go to the source code of this file.
verify the proper working of simple type sequence manipulations.
Here, "type sequence" stands for an instance of the template Types<T1,T2,...> from typelist.hpp . While this template is the entry point to type list metaprogramming, in many cases it is useful on its own for specifying a fixed collection of types, e.g. for building a tuple type. Thus, while more complicated manipulations typically rely on typelists, sometimes we need simple manipulations working directly on type sequences. These are covered here in a similar fashion as the typelist manipulators.
Definition in file typeseq-manip-test.cpp.
#include "lib/test/run.hpp"#include "lib/meta/typeseq-util.hpp"#include "lib/meta/typelist-manip.hpp"#include "meta/typelist-diagnostics.hpp"Namespaces | |
| namespace | lib |
| Implementation namespace for support and library code. | |
| namespace | lib::meta |
| namespace | lib::meta::test |
| namespace | lib::meta::test::anonymous_namespace{typeseq-manip-test.cpp} |
Typedefs | |
| using | Types1 = Types< Num< 1 >, Num< 2 >, Num< 3 > > |
| using | Types2 = Types< Num< 7 >, Num< 8 >, Num< 9 > > |
Classes | |
| class | TypeSeqManip_test |
Functions | |
| LAUNCHER (TypeSeqManip_test, "unit common") | |
| Register this test class... | |