std::call_once or how to call functions only once in your application

code

  • Executes the Callable object f exactly once, even if called concurrently, from several threads.

Leave a comment

Your email address will not be published.