r/cpp • • Sep 20 '26

Magic statics vs. std::call_once

https://devblogs.microsoft.com/oldnewthing/20260916-00/?p=112703
73 Upvotes

11 comments sorted by

View all comments

3

u/JNighthawk gamedev Sep 22 '26

TIL std::call_once. Thanks for sharing!