This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]