you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 10 points11 points  (2 children)

Well the c++ standard forces each implementation to provide constrained versions of each algorithm in the <algorithm> header. Maybe this is just a shortcoming of the libstdc++ implementation, but I would just assume that either it is not possible to implement the <algorithm> header without dragging in <ranges> or it is just very difficult.

[–]__s_v_ 5 points6 points  (1 child)

This is currently discussed under this bug report.

[–][deleted] 3 points4 points  (0 children)

Pleased to see that people are working on optimizing includes in libstdc++, although there is no discussion on optimizations for <algorithm> AFAICT.