Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2003-12-11 08:45:37

On 11/05/2003 04:10 PM, cppljevans_at_[hidden] wrote:
> available. Which brings up another question. How does ref_counted
> avoid the extra pointer used by shared_ptr to get at the start of the
> object in order to do correct deletion in case of multiple inheritance?
The file:

is a slight change to the one in sandbox latest which results in:

cd /home/evansl/prog_dev/boost_dev/libs/policy_ptr/test/latest/
g++-3.3 -ggdb -Wall -MMD -c -I/home/evansl/prog_dev/boost_dev
-I/home/evansl/prog_dev/boost-release/boost-1.30.2 smart_ptr_test.cpp
g++-3.3 -ggdb -o smart_ptr_test smart_ptr_test.o execution_monitor.o
test_tools.o unit_test_log.o unit_test_main.o unit_test_monitor.o
unit_test_parameters.o unit_test_result.o unit_test_suite.o
Running 1 test case...
Exception in "multi_inherit_test": signal: memory access violation
fatal error in "multi_inherit_test": testing aborted
fatal error in "Basic smart_ptr framework tests": testing aborted

*** errors detected in test suite "Basic smart_ptr framework tests"; see
standard output for details

Boost list run by bdawes at, gregod at, cpdaniel at, john at