Skip to content
Snippets Groups Projects
Select Git revision
  • develop
  • master default protected
  • feature/triangulation-qhull
  • jst
  • ti_lab_build
  • features/splines_and_piecewise_polynomials
  • ma_2018/erraji
  • fabian
  • ITABase_v2025a
  • ITABase_v2024a
  • VA_v2023b
  • VA_v2023a
  • VA_v2022a
  • before_cmake_rework
  • v2021.a
  • v2020.a
  • v2019.a
  • v2018.b
  • v2018.a
  • v2017.d
  • v2017.c
  • v2017.b
  • v2017.a
  • v2016.a
24 results

ITAUncopyable.h

Blame
  • 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