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