Select Git revision
ITAUncopyable.h

Pascal Palenda authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
ITAUncopyable.h 1.10 KiB
/*
* ----------------------------------------------------------------
*
* ITA core libs
* (c) Copyright Institute of Technical Acoustics (ITA)
* RWTH Aachen University, Germany, 2015-2025
*
* ----------------------------------------------------------------
* ____ __________ _______
* // / //__ ___/ // _ |
* // / // / // /_| |
* // / // / // ___ |
* //__/ //__/ //__/ |__|
*
* ----------------------------------------------------------------
*
*/
#ifndef INCLUDE_WATCHER_ITA_UNCOPYABLE
#define INCLUDE_WATCHER_ITA_UNCOPYABLE
#include <ITABaseDefinitions.h>
// Idee: Scott Meyers - Effective C++
class ITA_BASE_API ITAUncopyable
{
protected:
// Erlaubt fr Unterklassen: Standardkonstruktor
inline ITAUncopyable( ) { };
// Erlaubt fr Unterklassen: Destruktor
virtual inline ~ITAUncopyable( ) { };
private:
// Verboten fr alle: Kopierkonstruktor
inline ITAUncopyable( const ITAUncopyable& ) { };
// Verboten fr alle: Zuweisungsoperator
ITAUncopyable& operator=( const ITAUncopyable& );
};
#endif // INCLUDE_WATCHER_ITA_UNCOPYABLE