noncopyable.hpp
Go to the documentation of this file.
1 #include "sick_scan/sick_scan_base.h" /* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */
2 // Boost noncopyable.hpp header file --------------------------------------//
3 
4 // (C) Copyright Beman Dawes 1999-2003. Distributed under the Boost
5 // Software License, Version 1.0. (See accompanying file
6 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 
8 // See http://www.boost.org/libs/utility for documentation.
9 
10 #ifndef BOOST_CORE_NONCOPYABLE_HPP
11 #define BOOST_CORE_NONCOPYABLE_HPP
12 
13 namespace boost {
14 
15 // Private copy constructor and copy assignment ensure classes derived from
16 // class noncopyable cannot be copied.
17 
18 // Contributed by Dave Abrahams
19 
20 namespace noncopyable_ // protection from unintended ADL
21 {
23  {
24  protected:
25 #if !defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS) && !defined(BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS)
26  constexpr noncopyable() = default;
27  ~noncopyable() = default;
28 #else
29  noncopyable() {}
30  ~noncopyable() {}
31 #endif
32 #if !defined(BOOST_NO_CXX11_DELETED_FUNCTIONS)
33  noncopyable( const noncopyable& ) = delete;
34  noncopyable& operator=( const noncopyable& ) = delete;
35 #else
36  private: // emphasize the following members are private
37  noncopyable( const noncopyable& );
39 #endif
40  };
41 }
42 
44 
45 } // namespace boost
46 
47 #endif // BOOST_CORE_NONCOPYABLE_HPP
boost::noncopyable_::noncopyable::~noncopyable
~noncopyable()=default
boost
boost::noncopyable_::noncopyable::noncopyable
constexpr noncopyable()=default
boost::noncopyable_::noncopyable
Definition: noncopyable.hpp:22
boost::noncopyable
noncopyable_::noncopyable noncopyable
Definition: noncopyable.hpp:43
sick_scan_base.h
boost::noncopyable_::noncopyable::operator=
noncopyable & operator=(const noncopyable &)=delete


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:09