This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
How many parameters to provide?
- From: Chris Jefferson <caj at cs dot york dot ac dot uk>
- To: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Wed, 09 Feb 2005 14:50:56 +0000
- Subject: How many parameters to provide?
I've been perusing the functional submission by Douglas Gregor, to
decide if I think generating from macros or a seperate program are
better (in paarticular, I was wondering how well a macro-style
implementation would debug.)
However, the point of this email is to ask about number of parameters. I
notice Douglas has provided the variable size templates up to size 20.
The standard requires only 10 (which is what tuple provides). I can see
the advantages of 10 and of 20, but I think for these various things it
would probably be best to have them all the same size, unless there is a
good reason not to. Any opinions on if it should be the minimum required
by the standard by default or some larger number?
Chris