Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
IvanVergiliev
· 9y ago · 0 comments
And throw an `inline` in there just to be more likely to end up with something macro-like.
Comments
[–]
atilaneves
9y ago
`constexpr` is implicitly `inline`:
http://en.cppreference.com/w/cpp/language/inline
[–]
gpderetta
9y ago
orthogonally, templates are also implicitly inline.
Then again, inline does not mean what most people think.
[–]
kindfellow92
9y ago
“inline” is more about linkage than about actual inlining. The compiler will in-line regardless of that attribute.