Monday, July 24, 2017

C++11: Inline namespace: transitivity

Inline namespace behavior is transitive. For example: if you had three nested namspaces and the two inner namespaces were declared inline, then all of the inner namespaces’ symbols can be seen in the outer namespace.

No comments:

Post a Comment