vrshoot
annotate libs/assimp/boost/noncopyable.hpp @ 2:334d17aed7de
visual studio project files
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 02 Feb 2014 18:36:38 +0200 |
parents | |
children |
rev | line source |
---|---|
nuclear@0 | 1 // Boost noncopyable.hpp header file --------------------------------------// |
nuclear@0 | 2 |
nuclear@0 | 3 // (C) Copyright Beman Dawes 1999-2003. Distributed under the Boost |
nuclear@0 | 4 // Software License, Version 1.0. (See accompanying file |
nuclear@0 | 5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
nuclear@0 | 6 |
nuclear@0 | 7 // See http://www.boost.org/libs/utility for documentation. |
nuclear@0 | 8 |
nuclear@0 | 9 #ifndef BOOST_NONCOPYABLE_HPP_INCLUDED |
nuclear@0 | 10 #define BOOST_NONCOPYABLE_HPP_INCLUDED |
nuclear@0 | 11 |
nuclear@0 | 12 namespace boost { |
nuclear@0 | 13 |
nuclear@0 | 14 // Private copy constructor and copy assignment ensure classes derived from |
nuclear@0 | 15 // class noncopyable cannot be copied. |
nuclear@0 | 16 |
nuclear@0 | 17 // Contributed by Dave Abrahams |
nuclear@0 | 18 |
nuclear@0 | 19 namespace noncopyable_ // protection from unintended ADL |
nuclear@0 | 20 { |
nuclear@0 | 21 class noncopyable |
nuclear@0 | 22 { |
nuclear@0 | 23 protected: |
nuclear@0 | 24 noncopyable() {} |
nuclear@0 | 25 ~noncopyable() {} |
nuclear@0 | 26 private: // emphasize the following members are private |
nuclear@0 | 27 noncopyable( const noncopyable& ); |
nuclear@0 | 28 const noncopyable& operator=( const noncopyable& ); |
nuclear@0 | 29 }; |
nuclear@0 | 30 } |
nuclear@0 | 31 |
nuclear@0 | 32 typedef noncopyable_::noncopyable noncopyable; |
nuclear@0 | 33 |
nuclear@0 | 34 } // namespace boost |
nuclear@0 | 35 |
nuclear@0 | 36 #endif // BOOST_NONCOPYABLE_HPP_INCLUDED |