Namespaces
Variants
Views
Actions

Talk:cpp/language/static

From cppreference.com

Is there any reason for "static const inline initialization" to be marked as "until C++11"? Where does this comes from? Does it mean constexpr should be preferred or is "static const inline initialization" indeed forbidden in C++11? 61.28.199.248 08:21, 26 March 2012 (PDT)

C++11 allows inline initialization for any data member (not just static const integrals) --Bazzy 12:46, 26 March 2012 (PDT)