Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace foo {
- void bar();
- }
- void bar();
- namespace foo {
- void foobar()
- {
- bar(); // means foo::bar()
- ::bar(); // means bar() outside foo namespace
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement