Liste des Groupes | Revenir à cl c++ |
Am 30.03.2025 um 18:26 schrieb Mr Flibble:Prior to C++11, it was a valid method for the initialization problem for single threaded C++ code, which really was all that had C++ standard defined behavior.
The Meyers Singleton pattern has been around for decades, ..Decades are multiples of a decade, i.e. >= 20 years. But Meyer's
singleton is possible since C++11, where static local initializations
are thread-safe, that's 14 years ago.
Les messages affichés proviennent d'usenet.