IMP
2.1.0
The Integrative Modeling Platform
IMP Mainpage
All IMP Modules
Related Pages
Modules
Namespaces
Classes
Files
Examples
Indexes
File List
File Members
IMP
All IMP Modules
All IMP Modules and Applications
Argument Index
Class Examples
Factory Index
Function Examples
Design example
Developer Guide
Installation
Introduction
Mailing lists
ChangeLog
Tools
Dependencies
EMageFit protocol
EMageFit scripts and tools
Integrative docking utility programs
Deprecated List
Modules
Namespaces
Classes
Files
File List
File Members
Examples
Indexes
Class Usage
Class Examples
Class Factories
Function Examples
base/nullptr_macros.h
Go to the documentation of this file.
1
/**
2
* \file IMP/base/nullptr_macros.h
3
* \brief Provide a nullptr keyword analog.
4
*
5
* Copyright 2007-2013 IMP Inventors. All rights reserved.
6
*/
7
8
#ifndef IMPBASE_NULLPTR_MACROS_H
9
#define IMPBASE_NULLPTR_MACROS_H
10
11
#include <IMP/base/base_config.h>
12
13
#if !defined(BOOST_NO_CXX11_NULLPTR) && !defined(BOOST_NO_NULLPTR)
14
#define IMP_NULLPTR nullptr
15
#define IMP_NULLPTR_T std::nullptr_t
16
#else
17
#define IMP_NULLPTR IMP::nullptr
18
#define IMP_NULLPTR_T IMP::nullptr_t
19
#endif // IMP_COMPILER_HAS_NULLPTR
20
21
#endif
/* IMPBASE_NULLPTR_MACROS_H */