Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2001-02-14 11:13:27


The docs for utility.hpp give this example:

    // inside one of your own headers ...
    #include <boost/utility.hpp>

    class ResourceLadenFileSystem : noncopyable {

The last line should be changed, possibly to:

    class ResourceLadenFileSystem : boost::noncopyable {

Although personally I've come to view noncopyable as some kind of C++
pseudo keyword, and so prefer:

    // inside one of your own headers ...
    #include <boost/utility.hpp>
    using boost::noncopyable;

    class ResourceLadenFileSystem : noncopyable {

But it's Dave Abrahams class, so I'll let him change it to whatever he
thinks best:-)

--Beman


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