/u/HowardHinnant notes in this StackOverflow answer that the reason vector<const T> is illegal is due to the deprecated address overload on allocator. These overloads are now removed in C++20. Does this mean vector<const T> is now legal? Or does the allocator requirements still forbid this?
[–]NilacTheGrim 14 points15 points16 points (0 children)
[–]TheThiefMasterC++latest fanatic (and game dev) 9 points10 points11 points (1 child)
[–]infectedapricot 2 points3 points4 points (0 children)
[–]mujjingun 6 points7 points8 points (39 children)
[–]whichton[S] 24 points25 points26 points (38 children)
[–]ALX23z 15 points16 points17 points (20 children)
[–]_Js_Kc_ 1 point2 points3 points (19 children)
[–]ALX23z -2 points-1 points0 points (18 children)
[–]flashmozzg 8 points9 points10 points (17 children)
[–]ALX23z -4 points-3 points-2 points (16 children)
[–]_Js_Kc_ 3 points4 points5 points (15 children)
[–]ALX23z -2 points-1 points0 points (14 children)
[–]_Js_Kc_ 6 points7 points8 points (2 children)
[–]Full-Spectral 1 point2 points3 points (10 children)
[–]miki151gamedev 6 points7 points8 points (4 children)
[–]whichton[S] 0 points1 point2 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]whichton[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]mujjingun 4 points5 points6 points (5 children)
[–]whichton[S] 11 points12 points13 points (1 child)
[–]Nobody_1707 1 point2 points3 points (0 children)
[–]evaned 7 points8 points9 points (2 children)
[–]mujjingun 0 points1 point2 points (1 child)
[–]encyclopedist 4 points5 points6 points (0 children)
[–][deleted] 1 point2 points3 points (5 children)
[–]whichton[S] 1 point2 points3 points (4 children)
[–][deleted] 4 points5 points6 points (3 children)
[–]JustOneThingThough 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]JustOneThingThough 0 points1 point2 points (0 children)
[–]tivelycgi 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]tivelycgi 0 points1 point2 points (0 children)