LUMIERA.clone/doc/technical/code
Ichthyostega fd2d56ca45 refactoring(#988): switch function-closure to std::tuple
not sure yet if any of this works, because the
technicalities of dealing with variadic types are
quite different to our LISP-style typelist processing.

The good news is that with variadic templates it is
indeed possible, to supply dynamically picked arguments
to another function taking arbitrary arguments.

This all relies on the feature to unpack argument packs,
and, more specifically, about the possiblity to "wrap"
this unpacking around interspersed function call syntax

template<size_t...i>
Xyz
do_something(MyTuple myTuple)
  {
    return Xyz (std::get<i> (myTuple) ... );
  }

Here the '...' will be applied to the i... and then
the whole std::get-construct will be wrapped around
each element. Mind bogging, but very powerful
2016-01-19 03:56:53 +01:00
..
c++11.txt Reference platform for Lumeira is now Debian/Jessie 2015-08-16 02:49:53 +02:00
codingGuidelines.txt LANDING: transition to GTK-3 2015-05-30 17:11:41 +02:00
darkCorners.txt refactoring(#988): switch function-closure to std::tuple 2016-01-19 03:56:53 +01:00
index.txt New documentation section for code base layout and conventions 2011-10-14 03:35:39 +02:00
linkingStructure.txt DOC: summarise suitable mechanisms for dependency decoupling 2015-05-28 03:05:49 +02:00