IMP logo
IMP Reference Guide  2.17.0
The Integrative Modeling Platform
nullptr_macros.h
Go to the documentation of this file.
1 /**
2  * \file IMP/nullptr_macros.h
3  * \brief Provide a nullptr keyword analog.
4  *
5  * Copyright 2007-2022 IMP Inventors. All rights reserved.
6  */
7 
8 #ifndef IMPKERNEL_NULLPTR_MACROS_H
9 #define IMPKERNEL_NULLPTR_MACROS_H
10 
11 #include <IMP/kernel_config.h>
12 
13 #ifndef IMP_SWIG_WRAPPER
14 IMPKERNEL_DEPRECATED_HEADER(
15  2.17, "Use the nullptr keyword or std::nullptr_t type directly");
16 #endif
17 
18 #define IMP_NULLPTR nullptr
19 #define IMP_NULLPTR_T std::nullptr_t
20 
21 #endif /* IMPKERNEL_NULLPTR_MACROS_H */