Boost logo

Boost Users :

From: Daniel Wallin (dalwan01_at_[hidden])
Date: 2006-03-06 16:56:17


David Abrahams wrote:
> "Johan Nilsson" <r.johan.nilsson_at_[hidden]> 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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net