I suggest that we try an implementation of the for_each algorithm independent of the DiscreteDomain and DiscreteVector classes. I would prefer an implementation that should work for any class that implements the concept of a cartesian product, that remains to be defined.
This also applies to transform_reduce and deep_copy.
I suggest that we try an implementation of the
for_each
algorithm independent of theDiscreteDomain
andDiscreteVector
classes. I would prefer an implementation that should work for any class that implements the concept of a cartesian product, that remains to be defined.This also applies to
transform_reduce
anddeep_copy
.