
31 May
2006
31 May
'06
10:23 a.m.
Hi, With the parameter library is there any way to stop misuse as in; func(/*a = */1,b = 2); Fine, a is positional, b is named. func(a = 1,2); Happily compiles but probably isn't what was intended, the default value is used for the second parameter. Should positional arguments be allowed to occur after named arguments? Perusing the Parameter library docs I can't see any mention as to what should happen here. Regards, Richard. (using VC8.0 & cvs head)