Ember

blergh

Feb 24th, 2014
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. namespace A
  2. {
  3.     namespace B
  4.     {
  5.         namespace
  6.         {
  7.             static void* Pointer;
  8.         }
  9.     }
  10. }
  11.  
  12. namespace A
  13. {
  14.     Pointer = this; //Should crash because undefined
  15.     B::Pointer = this; //Should work properly?
  16. }
Advertisement
Add Comment
Please, Sign In to add comment