Created
April 4, 2015 11:41
-
-
Save skyzh/96a967004bc0bb0af681 to your computer and use it in GitHub Desktop.
Namespace Combination
This file contains 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
#include<iostream> | |
#include<cstdlib> | |
namespace Test | |
{ | |
class TB; | |
class TA | |
{ | |
public: | |
TB *b; | |
}; | |
}; | |
namespace Test | |
{ | |
class TB | |
{ | |
public: | |
TA *a; | |
}; | |
} | |
int main() | |
{ | |
Test::TA *a; | |
system("PAUSE"); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment