Dune Core Modules (2.4.1)
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
constexpr.hh File Reference
Definition of the DUNE_CONSTEXPR macro. More...
Go to the source code of this file.
Macros | |
#define | DUNE_CONSTEXPR constexpr |
Set method or expression constexpr if supported by the compiler. More... | |
Detailed Description
Definition of the DUNE_CONSTEXPR macro.
Macro Definition Documentation
◆ DUNE_CONSTEXPR
#define DUNE_CONSTEXPR constexpr |
Set method or expression constexpr if supported by the compiler.
#include <dune/common/std/constexpr.hh>
Definition of the DUNE_CONSTEXPR macro.
This is a preprocessor define which can be used to mark expressions or functions as constexpr. C++11 introduced constexpr, C++1y will extend constexpr's use cases.
