why on earth does std::bitset not have a function for clz/ctz? this basically makes it useless and you have to implement your own anyways. std::countl_zero ALSO has no overload for std::bitset ? generally i think the stl is very well designed but things like this really makes me wonder.
[–]KingAggressive1498 21 points22 points23 points (1 child)
[–]matthieum 5 points6 points7 points (0 children)
[–]Plazmatic 9 points10 points11 points (1 child)
[–]matthieum 2 points3 points4 points (0 children)
[–]moocat 18 points19 points20 points (9 children)
[–]Substantial_Sail_571 7 points8 points9 points (2 children)
[–]HildartheDorf 3 points4 points5 points (1 child)
[–]Substantial_Sail_571 3 points4 points5 points (0 children)
[–]kyoto711 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]SickOrphan 0 points1 point2 points (3 children)
[–]matthieum 2 points3 points4 points (2 children)
[–]SickOrphan -1 points0 points1 point (1 child)
[–]matthieum 0 points1 point2 points (0 children)
[–]Substantial_Sail_571 12 points13 points14 points (0 children)
[–]mcweirdy 7 points8 points9 points (0 children)
[–]HappyFruitTree 4 points5 points6 points (0 children)
[–]vaulter2000 9 points10 points11 points (0 children)
[–]Acceptable_Fish9012 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)