
10 Apr
2007
10 Apr
'07
2:03 p.m.
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.