This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Simplifing tuples
- From: Paolo Carlini <pcarlini at suse dot de>
- To: chris <caj at cs dot york dot ac dot uk>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Sun, 10 Oct 2004 11:09:15 +0200
- Subject: Re: Simplifing tuples
- References: <4167C752.7040405@cs.york.ac.uk>
chris wrote:
I'm currently working my way through implementing this, writing a
sizeable test suite, etc. I just wondered if anyone had any positive /
negative comments on this kind of unfolding?
Something I'm wondering about is whether we can provide to the user a
*simple* way to *set* (at library build time) the maximum number of
elements in one tuple type, not just 10, as mandated by the standard, or
an arbitrary number decided by the implementors: AFAICS this is not
possible neither with boost reference implementation, neither with your
proposal. Of course, it's something highly not trivial, preprocessor
magic and/or sophisticated template metaprogramming techniques would be
needed, but eventually the QoI would be much higher, IMHO...
Paolo.