3 ms·
Not just network calls, but also the file system, or basically anything nontrivial. C++ static variables can now be annotated with constinit to resolve issues
by kccqzy 7y ago
Not just network calls, but also the file system, or basically anything nontrivial.
C++ static variables can now be annotated with constinit to resolve issues like this: https://en.cppreference.com/w/cpp/language/constinit https://en.cppreference.com/w/cpp/language/constinit It basically asks the compiler to enforce that constructor calls can only do trivial things.