Lumiera
0.pre.03
»edit your freedom«
|
Go to the source code of this file.
unit test FunctionComposition_test
Definition in file function-composition-test.cpp.
#include "lib/test/run.hpp"
#include "lib/test/test-helper.hpp"
#include "lib/meta/typelist.hpp"
#include "lib/meta/function.hpp"
#include "lib/meta/function-closure.hpp"
#include "meta/typelist-diagnostics.hpp"
#include <tuple>
Classes | |
class | FunctionComposition_test |
Functions | |
template<uint i> | |
Num< i > | fun11 (Num< i > val1) |
"Function-1" will be used at the front side, accepting a tuple of values | |
template<uint i, uint ii> | |
Num< i > | fun12 (Num< i > val1, Num< ii > val2) |
template<uint i, uint ii, uint iii> | |
Num< i > | fun13 (Num< i > val1, Num< ii > val2, Num< iii > val3) |
template<uint i, uint ii, uint iii, uint iv> | |
Num< i > | fun14 (Num< i > val1, Num< ii > val2, Num< iii > val3, Num< iv > val4) |
template<uint i, uint ii, uint iii, uint iv, uint v> | |
Num< i > | fun15 (Num< i > val1, Num< ii > val2, Num< iii > val3, Num< iv > val4, Num< v > val5) |
template<class II > | |
int | fun2 (II val) |
"Function-2" can be chained behind fun1 | |
LAUNCHER (FunctionComposition_test, "unit common") | |
Register this test class... More... | |
Variables | |
Num< 1 > | _1_ |
Num< 2 > | _2_ |
Num< 3 > | _3_ |
Num< 4 > | _4_ |
Num< 5 > | _5_ |
Num< 6 > | _6_ |
Num< 7 > | _7_ |
Num< 8 > | _8_ |
Num< 9 > | _9_ |
Namespaces | |
lib | |
Implementation namespace for support and library code. | |
lib::meta::test::LAUNCHER | ( | FunctionComposition_test | , |
"unit common" | |||
) |
Register this test class...