WPILib
2014.0
WPIRoboticsLibraryforFRC
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Variables
Pages
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 Tue Jan 7 2014 14:07:03 for WPILib by
1.8.5