Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-04-10 10:03:11


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.


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