6 Mar
2006
6 Mar
'06
9:56 p.m.
David Abrahams wrote:
"Johan Nilsson"
writes: I personally very rarely use constant/reference class members, but understand your concerns. Perhaps a BOOST_PARAMETER_RESTRICTED_CTOR (or similarly ugly-named) macro could be included in the library?
I don't think there's a real need to uglify. Usually ctors are pretty simple anyway; I think this macro should just generate the ctor overloads directly instead of doing any forwarding. Daniel, what do you think about that?
I'm not sure I understand what you are suggesting. Right now we have the new macro system that has constructors that forward to a base class. What are you suggesting that differs from that? -- Daniel Wallin