Advertisement
Guest User

Untitled

a guest
Jul 21st, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.42 KB | None | 0 0
  1. // Example program
  2. #include <iostream>
  3.  
  4. namespace glm {
  5.     static const char *m = "A";
  6.     namespace internal {
  7.         static const char *o = "C";
  8.     }
  9. }
  10.  
  11. namespace MyMathImpl {
  12.     static const char *n = "B";
  13. }
  14.  
  15. namespace Math {
  16.     using glm::m;
  17.     using namespace MyMathImpl;
  18.     using namespace glm::internal;
  19. }
  20.  
  21. int main()
  22. {
  23.   std::cout << Math::m << ' ' << Math::n << " " << Math::o << std::endl;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement