blob: 274a25dfd45c8d3d16b39881733d7767d8500b79 [file] [log] [blame]
jerrymf1579332013-02-07 01:56:28 +00001/*----------------------------------------------------------------------------*/
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