fw4spl
|
Helper for BinaryCartesianProduct two Set. More...
#include <Combinatory.hpp>
Classes | |
struct | apply |
Helper for BinaryCartesianProduct two Set.
TYPE | should be a simple type |
SETOFSET | should be a container of type list i.e vector< vector< singleTypes>, vector< singleTypes>, ... >. If SET is empty then vector<vector<TYPE> > is created |
From a type and a set generate a new set where elements are concatenation of type and element of second set i.e AppendValueFirst ( a , [ [B] , [C] ] ) –> [ [a,B], [b,C] ] and AppendValueFirst ( a , [ ] ) –> [ [a] ]
Definition at line 35 of file Combinatory.hpp.