Wherefore inline unnamed namespaces?
问题 A quick one for the gurus: C++11 allows unnamed namespaces to be declared inline . This seems redundant to me; things declared in an unnamed namespace are already used as if they were declared in the enclosing namespace. So my question is this: what does it mean to say inline namespace /*anonymous*/ { // stuff } and how is it different from the traditional namespace /*anonymous*/ { // stuff } that we know and love from C++98? Can anyone give an example of different behaviour when inline is