Dune Core Modules (2.4.1)

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.

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.

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)