IMP
2.3.1
The Integrative Modeling Platform
|
Various compiler workarounds. More...
#include <boost/config.hpp>
#include <boost/version.hpp>
#include <boost/foreach.hpp>
#include <boost/detail/endian.hpp>
Go to the source code of this file.
Macros | |
#define | IMP_CLANG_PRAGMA(x) |
#define | IMP_COMPILER_DISABLE_WARNINGS |
#define | IMP_COMPILER_ENABLE_WARNINGS |
#define | IMP_COMPILER_HAS_FINAL 0 |
#define | IMP_COMPILER_HAS_OVERRIDE 0 |
#define | IMP_CURRENT_FUNCTION __func__ |
#define | IMP_CURRENT_PRETTY_FUNCTION __PRETTY_FUNCTION__ |
#define | IMP_CXX11_DEFAULT_COPY_CONSTRUCTOR(Name) |
#define | IMP_DEPRECATED_ATTRIBUTE |
#define | IMP_FINAL |
Have the compiler report an error if anything overrides this method. More... | |
#define | IMP_FOREACH(v, r) BOOST_FOREACH(v, r) |
#define | IMP_GCC_PRAGMA(x) |
#define | IMP_HAS_NOEXCEPT 0 |
#define | IMP_HELPER_MACRO_POP_WARNINGS |
#define | IMP_HELPER_MACRO_PUSH_WARNINGS |
#define | IMP_NO_SIDEEFFECTS |
Use this to label a function with no side effects. More... | |
#define | IMP_NOEXCEPT throw() |
#define | IMP_OVERRIDE |
Cause a compile error if this method does not override a parent method. More... | |
#define | IMP_PRAGMA(x) |
#define | IMP_RESTRICT |
restrict means that a variable is not aliased with this function More... | |
#define | IMP_STRINGIFY(x) #x |
#define | IMP_VC_PRAGMA(x) |
#define | IMP_WARN_UNUSED_RESULT |
Use this to make the compiler (possibly) warn if the result is not used. More... | |
Various compiler workarounds.
Copyright 2007-2014 IMP Inventors. All rights reserved.
Definition in file compiler_macros.h.
#define IMP_FINAL |
Have the compiler report an error if anything overrides this method.
Definition at line 97 of file compiler_macros.h.
#define IMP_NO_SIDEEFFECTS |
Use this to label a function with no side effects.
Definition at line 52 of file compiler_macros.h.
#define IMP_OVERRIDE |
Cause a compile error if this method does not override a parent method.
This is helpful to catch accidental mismatches of call signatures between the method and the parent method, which would cause the method to be overloaded rather than overridden. Usually this macro should be used whenever implementing a method that is declared virtual in the parent.
Definition at line 75 of file compiler_macros.h.
#define IMP_RESTRICT |
restrict means that a variable is not aliased with this function
Definition at line 57 of file compiler_macros.h.
#define IMP_WARN_UNUSED_RESULT |
Use this to make the compiler (possibly) warn if the result is not used.
Definition at line 55 of file compiler_macros.h.