Boost logo

Boost :

From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2002-08-21 23:56:44


I've uploaded a rewritten ptr.hpp which handles simple, complex and
ambiguous hierarchies:
http://groups.yahoo.com/group/boost/files/ptr/

pointer.cpp outputs:

Q25boostt11mutable_ptr1Z2SX: size = 4
16simple_hierarchy: size = 4
* p = 9
17complex_hierarchy: size = 4
get() = 0x804be20
get() = 0x804be28
y = 2
VD::~VD()
VY::~VY()
VX::~VX()
19ambiguous_hierarchy: size = 8
pI1->i = 8
pI2->i = 9

on my system.

Philippe A. Bouchard


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