example_nontrivial-threadlocal.cpp raw

   1  #include <string>
   2  thread_local std::string foo;
   3