Boost logo

Boost Users :

Subject: Re: [Boost-users] 'class' : missing tag name - shared_ptr error can be resolved as follows
From: BKnoth (bknoth_at_[hidden])
Date: 2009-10-26 17:58:00


If I define BOOST_NO_AUTO_PTR for my project, then I don't have an
error. I don't know what that definition-macro really does, but it does
fix my compile-time error.

- Bruce

>
> ----------------
> in shared_ptr.hpp (line 146):
>
> #if !defined( BOOST_NO_SFINAE ) && !defined(
> BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION ) && !defined( BOOST_NO_AUTO_PTR )
>
> // rvalue auto_ptr support based on a technique by Dave Abrahams
>
> template< class T, class R > struct sp_enable_if_auto_ptr // Error Here!!!
> {
> };
>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net