It also shows something else: that it is impossible to implement a std library without rewriting it.
I mean:
std::function
std::move_only_function
std::function_ref
std::list
std::forward_list
vector
string
string_view
map
unordered_map
queue
stack
deque
all ranges header
all algorithms
And much, much more... that needs a spec, an implementation, debugging and all compilers to implement it. At least the big 3. Yes, just a detail without importance I guess...
View all comments
Show parent comment
1
u/germandiago Oct 28 '24 edited Oct 28 '24
It also shows something else: that it is impossible to implement a std library without rewriting it.
I mean:
And much, much more... that needs a spec, an implementation, debugging and all compilers to implement it. At least the big 3. Yes, just a detail without importance I guess...