Created
January 27, 2018 06:20
-
-
Save fortheday/29ca1a1138b9be223a2efb962a2d4482 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace Level0 | |
| { | |
| namespace Level1 | |
| { | |
| int e_Year = 2018; | |
| } | |
| inline namespace Group1 | |
| { | |
| int e_Month = 1; | |
| } | |
| } | |
| namespace LV1 = Level0::Level1; | |
| void NamespaceTest() | |
| { | |
| int &rYear = LV1::e_Year; | |
| int &rMonth = Level0::e_Month; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment