Boost logo

Boost-Build :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-05-31 16:20:01


On 05/31/2005 03:05 PM, David Abrahams wrote:
> Larry Evans <cppljevans_at_[hidden]> writes:
[snip]
>>>OK. I'll make the changes to the .xml files and post the resulting
>>html to the sandbox vault for your review once I'm done.
>
>
> It'll be a lot easier if you just check them in, preferably on a
> branch.
>
OK.
>
>>However, I'd like to get the policy_ptr changes done first.
>
>
> What policy_ptr changes?
>

1) A test driver corresponding to:
libs/ smart_ptr/test/shared_ptr_test.cpp
for use in testing the policy_ptr emulation of shared_ptr.

2) Copying boost/detail/shared_count.hpp to
boost/policy_ptr/detail/shared_count.hpp and supplying another
template parameter to enable specialization of shared_count
on the 2nd template parameter. This specialization
can allow an emulation of shared_ptr to collect cycles using precise
pointer location (as opposed to libs/smart_ptr/src/sp_collector.cpp
conservative pointer location). It also allows another
specialization to emulate the conservative pointer location
of sp_collector.cpp. I plan to mostly copy sp_collector.cpp
to test it. That's why I just wanted to run a program and
see the output. Vladimir showed me how with his:

run-output test.out : test.exe ;

post. Thanks Vladimir.

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk