Boost logo

Boost :

From: Larry Evans (jcampbell3_at_[hidden])
Date: 2002-08-15 07:33:08

Philippe A. Bouchard wrote:

>Here is ptr<> nearly fully portable:
I tried the previous ptr.h with both static ptr<T> in a short
test driver, check_static.cpp, and in another .cpp file,
ptrT.cpp, got 0 values for the get_type_id's of the
instances of the static ptr<T>'s in main. When I
defined both ptr_ctti::s_size and the ptr_base<T>::s_id's
in separate files (following the one-defintion) rule,
everything worked fine.

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