michael@0: // michael@0: // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. michael@0: // Use of this source code is governed by a BSD-style license that can be michael@0: // found in the LICENSE file. michael@0: // michael@0: michael@0: // pp_utils.h: Common preprocessor utilities michael@0: michael@0: #ifndef COMPILER_PREPROCESSOR_PPUTILS_H_ michael@0: #define COMPILER_PREPROCESSOR_PPUTILS_H_ michael@0: michael@0: // A macro to disallow the copy constructor and operator= functions michael@0: // This must be used in the private: declarations for a class. michael@0: #define PP_DISALLOW_COPY_AND_ASSIGN(TypeName) \ michael@0: TypeName(const TypeName&); \ michael@0: void operator=(const TypeName&) michael@0: michael@0: #endif // COMPILER_PREPROCESSOR_PPUTILS_H_