Guest User

Untitled

a guest
Dec 11th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. static const std::string& foo() // Line 1
  2. {
  3. static std::string str("foo");
  4. return str;
  5. }
  6.  
  7. namespace
  8. {
  9. const std::string& foo() // Line 1
  10. {
  11. static std::string str("foo");
  12. return str;
  13. }
  14. }
Add Comment
Please, Sign In to add comment