Main MRPT website > C++ reference for MRPT 1.4.0
CUncopiable.h
Go to the documentation of this file.
1/* +---------------------------------------------------------------------------+
2 | Mobile Robot Programming Toolkit (MRPT) |
3 | http://www.mrpt.org/ |
4 | |
5 | Copyright (c) 2005-2016, Individual contributors, see AUTHORS file |
6 | See: http://www.mrpt.org/Authors - All rights reserved. |
7 | Released under BSD License. See details in http://www.mrpt.org/License |
8 +---------------------------------------------------------------------------+ */
9#ifndef CUNCOPIABLE_H
10#define CUNCOPIABLE_H
11
13
14namespace mrpt
15{
16 namespace utils
17 {
18 /** The base class of classes that cannot be copied: compile-time errors will be issued on any copy operation.
19 * An example:
20 *
21 * \code
22 * class MyFancyClass : public mrpt::utils::CUncopiable
23 * {
24 * public:
25 * ...
26 * };
27 * \endcode
28 * \ingroup mrpt_base_grp
29 */
31 {
32 private:
33 CUncopiable(const CUncopiable &); // This doesn't need to be implemented anywhere
34 const CUncopiable& operator =(const CUncopiable &); // This doesn't need to be implemented anywhere
35 public:
37 }; // End of class def.
38
39 } // End of namespace
40} // end of namespace
41#endif
The base class of classes that cannot be copied: compile-time errors will be issued on any copy opera...
Definition: CUncopiable.h:31
CUncopiable(const CUncopiable &)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.



Page generated by Doxygen 1.9.6 for MRPT 1.4.0 SVN: at Wed Mar 22 20:12:58 UTC 2023