Quick Q: Does constexpr imply inline?—StackOverflow

Save to:
Instapaper Pocket Readability

This weeked on SO:

Does constexpr imply inline?

My question is: does the constexpr specifier imply the inline specifier in the sense that if a non-constant argument is passed to a constexpr function, the compiler will try to inline the function as if the inline specifier was put in its declaration ?

Does the C++11 standard guarantee that ?

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.