|
dune-common
2.11
|
Provide the macro DUNE_FORCE_INLINE that expands to attribute always_inline or similar depending on the compiler (version).
More...
Go to the source code of this file.
Macros | |
| #define | DUNE_FORCE_INLINE inline |
Provide the macro DUNE_FORCE_INLINE that expands to attribute always_inline or similar depending on the compiler (version).
Some information is extracted from https://meghprkh.github.io/blog/posts/c++-force-inline.
The effect of DUNE_FORCE_INLINE is typically as follows:
-fno-inlineinline keyword never does.Even when marked with DUNE_FORCE_INLINE, the compiler cannot always inline a function. Examples for such exceptions are
Example:
| #define DUNE_FORCE_INLINE inline |
1.8.14