"Stefan Slapeta" <[EMAIL PROTECTED]> writes:
> ... and the reason is that this Boost workaround
>
> # if BOOST_WORKAROUND(BOOST_MSVC, <= 1200 && __SGI_STL_PORT)
>
> does never apply as config.hpp is not included and therefore BOOST_MSVC IS
> NOT SET!!!
> You have to manually include config.hpp bef
"Philippe A. Bouchard" <[EMAIL PROTECTED]> wrote in message
b2jlq6$92u$[EMAIL PROTECTED]">news:b2jlq6$92u$[EMAIL PROTECTED]...
> David B. Held wrote:
> > unsignedCount_;
> > charValue_[sizeof(T)];
> > };
>
> Another little thing...
>
> Value_ will have to be
David B. Held wrote:
> unsignedCount_;
> charValue_[sizeof(T)];
> };
Another little thing...
Value_ will have to be aligned just like an object of type T.
Wouldn't it be possible to derive TCounted_Record from TRecord,
removing Value_ at the same time?
Christophe,
As an alternative, you might look at the intrusive pointer
implementation at http://sourceforge.net/projects/cpputilities/. (Get
the cpputilities_2003_01_04 download and extract the files ptr.h,
target_base.h, pointer.html and target.html.) This is a
fully-documented, STL-compatibl