Liste des Groupes | Revenir à cl c++ |
Am 30.03.2025 um 18:26 schrieb Mr Flibble:Before C++11 one had to just add their own synchronization for thread safety (assuming multi-threaded access was needed, which was not so often in the past).
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.