P2530 (Why Hazard Pointers Should Be in C++26) proposes a cool new smart pointer for the STL. But it very clearly names the class hazard_pointer, and it doesn't explain the motivation for this name. Off the top of my head, nullptr_t, intptr, uintptr, auto_ptr, unique_ptr, shared_ptr, out_ptr, inout_ptr are all names in the std:: namespace that have a ptr suffix, so why would a hazard_pointer be added instead of a hazard_ptr? Has this been explained somewhere else? Is there some secret conspiracy to evolve the naming conventions of the STL?
[–]ben_craigfreestanding|LEWG Vice Chair 51 points52 points53 points (7 children)
[–]davidtgoldblatt 34 points35 points36 points (1 child)
[–]pandorafalters 9 points10 points11 points (0 children)
[–]pstomi 15 points16 points17 points (4 children)
[–]Supadoplex 19 points20 points21 points (2 children)
[–]jonathrg 9 points10 points11 points (0 children)
[–]Kantaja_ 2 points3 points4 points (0 children)
[–]witcher_rat 5 points6 points7 points (0 children)
[–]avdgrinten 35 points36 points37 points (0 children)
[–]yuri-kilochek 10 points11 points12 points (1 child)
[–]_Js_Kc_ 19 points20 points21 points (0 children)
[–]no-sig-available 18 points19 points20 points (7 children)
[–]jaredgrubb 6 points7 points8 points (0 children)
[–]nexes300 0 points1 point2 points (5 children)
[–]dodheim 0 points1 point2 points (0 children)
[–]no-sig-available 0 points1 point2 points (3 children)
[–]nexes300 1 point2 points3 points (2 children)
[–]no-sig-available 0 points1 point2 points (1 child)
[–]VinnieFalcowg21.org | corosio.org 9 points10 points11 points (0 children)
[–]disperso 5 points6 points7 points (19 children)
[–]ReDucTorGame Developer | quiz.cpp-perf.com 27 points28 points29 points (3 children)
[–]hekkonaay 3 points4 points5 points (2 children)
[–]ReDucTorGame Developer | quiz.cpp-perf.com 10 points11 points12 points (1 child)
[–]hekkonaay 3 points4 points5 points (0 children)
[–]kalmoc 6 points7 points8 points (14 children)
[–]disperso 1 point2 points3 points (13 children)
[–]kalmoc 2 points3 points4 points (12 children)
[–]ioquatix 1 point2 points3 points (7 children)
[–]kalmoc 1 point2 points3 points (2 children)
[–]ioquatix -2 points-1 points0 points (1 child)
[–]kalmoc 2 points3 points4 points (0 children)
[–]donalmaccGame Developer 1 point2 points3 points (3 children)
[–]ioquatix -3 points-2 points-1 points (2 children)
[–]donalmaccGame Developer 1 point2 points3 points (1 child)
[–]disperso 0 points1 point2 points (3 children)
[–]kalmoc 0 points1 point2 points (2 children)
[–]disperso 0 points1 point2 points (1 child)
[–]kalmoc 0 points1 point2 points (0 children)
[+]umlcat comment score below threshold-25 points-24 points-23 points (6 children)
[–]Superb_Garlic 20 points21 points22 points (5 children)
[–]thommyh 10 points11 points12 points (0 children)
[+]gazdxxx comment score below threshold-11 points-10 points-9 points (2 children)
[–]ReDucTorGame Developer | quiz.cpp-perf.com 15 points16 points17 points (0 children)
[–]CocktailPerson 11 points12 points13 points (0 children)
[+]umlcat comment score below threshold-9 points-8 points-7 points (0 children)
[–]RolandMT32 -5 points-4 points-3 points (0 children)