Now you can download a copy of these docs so you can use them offline! Download now
Base.h
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 // If don't have C++11, define constexpr as const for WindRiver
11 #if __cplusplus < 201103L
12 #define constexpr const
13 #endif
14 
15 // A macro to disallow the copy constructor and operator= functions
16 // This should be used in the private: declarations for a class
17 #define DISALLOW_COPY_AND_ASSIGN(TypeName) \
18  TypeName(const TypeName&); \
19  void operator=(const TypeName&)
20 
21 #endif

Generated on Sat Apr 26 2014 12:26:45 for WPILibC++ by doxygen 1.8.6