1
// Boost noncopyable.hpp header file --------------------------------------//
3
// (C) Copyright Boost.org 1999-2003. Permission to copy, use, modify, sell
4
// and distribute this software is granted provided this copyright
5
// notice appears in all copies. This software is provided "as is" without
6
// express or implied warranty, and with no claim as to its suitability for
9
// See http://www.boost.org/libs/utility for documentation.
11
#ifndef BOOST_NONCOPYABLE_HPP_INCLUDED
12
#define BOOST_NONCOPYABLE_HPP_INCLUDED
16
// Private copy constructor and copy assignment ensure classes derived from
17
// class noncopyable cannot be copied.
19
// Contributed by Dave Abrahams
26
private: // emphasize the following members are private
27
noncopyable( const noncopyable& );
28
const noncopyable& operator=( const noncopyable& );
33
#endif // BOOST_NONCOPYABLE_HPP_INCLUDED