https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102545
--- Comment #1 from Emily Leyland <e9leyland at outlook dot com> --- Good question, there seems to be some debate. From en.cppreference.com/w/cpp/language/constexpr, A constexpr specifier used in a function or static data member (since C++17) declaration implies inline.