[Dune] Interface addition
Carsten Gräser
graeser at math.fu-berlin.de
Thu Dec 2 23:39:31 CET 2010
Dear Dune,
I'd like to add helper template ExtendedTuple to prepend or append a type
to a tuple to tupleutility.hh. It provides the types:
ExtendedTuple<tuple<T1,...,TN>,T>::prepended == tuple<T,T1,...,TN>
ExtendedTuple<tuple<T1,...,TN>,T>::appended == tuple<T1,...,TN,T>
Any objections to add this utility template in the attached patch?
Best,
Carsten
--
----------------------------------------------------------------------
Carsten Gräser | phone: +49-30 / 838-75349
Freie Universität Berlin | fax : +49-30 / 838-54977
Institut für Mathematik | email: graeser at math.fu-berlin.de
Arnimallee 6 |
14195 Berlin, Germany | URL : http://page.mi.fu-berlin.de/graeser
----------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tupleutility.hh
Type: text/x-c++hdr
Size: 65349 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20101202/d61a9dcf/attachment.hh>
More information about the Dune
mailing list