jerrym | f157933 | 2013-02-07 01:56:28 +0000 | [diff] [blame^] | 1 | /*----------------------------------------------------------------------------*/
|
| 2 | /* Copyright (c) FIRST 2008. All Rights Reserved. */
|
| 3 | /* Open Source Software - may be modified and shared by FRC teams. The code */
|
| 4 | /* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
|
| 5 | /*----------------------------------------------------------------------------*/
|
| 6 |
|
| 7 | #ifndef _BASE_H
|
| 8 | #define _BASE_H
|
| 9 |
|
| 10 | // A macro to disallow the copy constructor and operator= functions
|
| 11 | // This should be used in the private: declarations for a class
|
| 12 | #define DISALLOW_COPY_AND_ASSIGN(TypeName) \
|
| 13 | TypeName(const TypeName&); \
|
| 14 | void operator=(const TypeName&)
|
| 15 |
|
| 16 | #endif
|