Boost logo

Boost :

From: Bronek Kozicki (brok_at_[hidden])
Date: 2004-08-18 17:19:47


Bronek Kozicki wrote:

> Apparently boost::noncopyable (or test unit?) got broken somewhere

No longer "apparently". It's definitely broken:

boost/utility_fwd.hpp contains (among other things):

namespace boost
{
// From <boost/noncopyable.hpp>
--------------------------------------------//
class noncopyable;
} // namespace boost

while boost/noncopyable.hpp contains:

namespace boost {
namespace noncopyable_ // protection from unintended ADL
{
   class noncopyable
   {
    protected:
       noncopyable() {}
       ~noncopyable() {}
    private: // emphasize the following members are private
       noncopyable( const noncopyable& );
       const noncopyable& operator=( const noncopyable& );
   };
}

typedef noncopyable_::noncopyable noncopyable;

} // namespace boost

I'm pretty sure that it's not valid C++ .

B.


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