|
Boost : |
From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2004-08-20 05:34:28
David Abrahams writes:
> Aleksey Gurtovoy <agurtovoy_at_[hidden]> writes:
>
>> David Abrahams writes:
>>> "Neal D. Becker" <ndbecker2_at_[hidden]> writes:
>>>
>>>> /usr/local/src/boost.cvs/boost/noncopyable.hpp:32: error: conflicting types
>>>> for
>>>> `typedef class boost::noncopyable_::noncopyable boost::noncopyable'
>>>> /usr/local/src/boost.cvs/boost/utility_fwd.hpp:26: error: previous
>>>> declaration
>>>> as `struct boost::noncopyable'
>>>
>>> Should be fixed now.
>>
>> It wasn't.
>
> The checkin failed because of your simultaneous change below and I
> didn't notice.
If it failed, it was for some other reason. I checked in the fix 6
hours after your mail.
>
>> I removed the forward declaration from "utility_fwd.hpp" as
>> useless and wrongly placed.
>
> It is not useless!
Pretty much, IMO.
>
>> As a matter of fact, IMO the header itself
>> is ill-advised and should be removed. Objections?
>
> Yes!
>
> I use noncopyable as a DSL template parameter in Boost.Python and all I
> need is a declaration.
Given the size of the class, I think it's a misguided desire.
-- Aleksey Gurtovoy MetaCommunications Engineering
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk