dune-common
2.4.1
|
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... | |
Definition of the DUNE_CONSTEXPR macro.
#define DUNE_CONSTEXPR constexpr |
Set method or expression constexpr if supported by the compiler.
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.
Referenced by Dune::Std::make_index_sequence(), Dune::Std::make_integer_sequence(), Dune::FieldMatrix< T, n, m >::mat_access(), and Dune::FieldVector< K, SIZE >::operator>>().