Boost logo

Boost :

From: Martin Wille (mw8329_at_[hidden])
Date: 2007-04-10 12:05:23


Peter Dimov wrote:
> Jürgen Hunold wrote:
>> Hi !
>>
>> The lastest changes to Boost.SharedPtr seem to have broken spirit
>> compiliation. I get:
>>
>> boost/boost/spirit/core/non_terminal/impl/grammar.ipp:232:
>> error: 'make_shared' is not a member of 'boost'
>> /boost/boost/spirit/core/non_terminal/impl/grammar.ipp:234:
>> error: 'make_shared' is not a member of 'boost'
>>
>> I think that Peter Dimov removed "make_shared" from weak_ptr.h.
>> Could someone with more insight in both libs fix this ?
>
> make_shared(x) is an old and obsolete spelling for x.lock(). The code in
> grammar.ipp is very odd, though; I'll let someone more familiar with it make
> the change or maybe clean it up a bit.

That would be me. I removed make_shared from the code.

Regards,
m


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk