Skip to content

Instantly share code, notes, and snippets.

@skyzh
Created April 4, 2015 11:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skyzh/96a967004bc0bb0af681 to your computer and use it in GitHub Desktop.
Save skyzh/96a967004bc0bb0af681 to your computer and use it in GitHub Desktop.
Namespace Combination
#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