Hacker News new | ask | show | jobs
by IvanVergiliev 3125 days ago
And throw an `inline` in there just to be more likely to end up with something macro-like.
2 comments

`constexpr` is implicitly `inline`: http://en.cppreference.com/w/cpp/language/inline
orthogonally, templates are also implicitly inline.

Then again, inline does not mean what most people think.

“inline” is more about linkage than about actual inlining. The compiler will in-line regardless of that attribute.