Advertisement
tinyevil

Untitled

Jul 19th, 2018
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. namespace std{
  2. namespace details{
  3. ...
  4. }
  5. }
  6.  
  7. namespace opengl{
  8. namespace details{
  9. ...
  10. }
  11. }
  12.  
  13. namespace my{
  14. import std;
  15. import opengl;
  16.  
  17. namespace foo{
  18. import details; // for some reason, this one pulls names from both
  19. // std::details and opengl::details
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement