Boost logo

Boost :

From: cppljevans_at_[hidden]
Date: 2003-10-28 18:31:35


On 10/28/2003 04:18 PM, cppljevans_at_[hidden] wrote:
[snip]
I compiled with -E and #define BOOST_SMART_POINTER_LEGACY_INTERFACE
and output included:

   template < typename T,
# 180 "../../../boost/policy_ptr/smart_ptr.hpp"
     template < typename > class OwnershipPolicy = ref_counted,
     template < typename > class ConversionPolicy = disallow_conversion,
     template < typename > class CheckingPolicy = assert_check,
     template < typename > class StoragePolicy = scalar_storage
> class smart_ptr;
# 370 "../../../boost/policy_ptr/smart_ptr.hpp"
template < typename T, class P1, class P2, class P3, class P4 > class
smart_ptr:public optimally_inherit <
...

Hence, the forward decl of smart_ptr is inconsistent with the definition.


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