Do constexpr
functions have internal linkage by default or external?
Take for example the following function:
constexpr int foo() {
return 0;
}
A
constexpr
specifier used in a function or static member variable (since C++17) declaration impliesinline
.