Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
725 B

/*--------------------------------------------------------------------------*
*
* Microsoft Windows
* Copyright (C) Microsoft Corporation, 1992 - 000
*
* File: cpputil.h
*
* Contents: Miscellaneous C++ utilities
*
* History: 29-Mar-2000 jeffro Created
*
*--------------------------------------------------------------------------*/
#pragma once
/*
* add these to a class declaration if you don't want it to be copied
* and/or assigned
*/
#define DECLARE_NOT_COPIABLE( ClassName) private: ClassName (const ClassName&); // not implemented
#define DECLARE_NOT_ASSIGNABLE(ClassName) private: ClassName& operator=(const ClassName&); // not implemented