WPILib 2012
WPILibRoboticsLibraryforFRC
Base.h
00001 /*----------------------------------------------------------------------------*/
00002 /* Copyright (c) FIRST 2008. All Rights Reserved.                                                         */
00003 /* Open Source Software - may be modified and shared by FRC teams. The code   */
00004 /* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib.  */
00005 /*----------------------------------------------------------------------------*/
00006 
00007 #ifndef _BASE_H
00008 #define _BASE_H
00009 
00010 // A macro to disallow the copy constructor and operator= functions
00011 // This should be used in the private: declarations for a class
00012 #define DISALLOW_COPY_AND_ASSIGN(TypeName) \
00013   TypeName(const TypeName&);               \
00014   void operator=(const TypeName&)
00015 
00016 #endif
 All Classes Functions Variables