fw4spl
fwTools::AppendValueFirst Struct Reference

Helper for BinaryCartesianProduct two Set. More...

#include <Combinatory.hpp>

Classes

struct  apply
 

Detailed Description

Helper for BinaryCartesianProduct two Set.

Parameters
TYPEshould be a simple type
SETOFSETshould 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.


The documentation for this struct was generated from the following file: