4 ms·
You can have a lot of tricky questions with the STL only. Here are a few things I can think of: Why do you pass smart pointers, string_view or span by copy? Wha
by JTyQZSnP3cQGa8B 3y ago
You can have a lot of tricky questions with the STL only. Here are a few things I can think of: Why do you pass smart pointers, string_view or span by copy? What do you know about C++20? What do you know about C++23? Can you list some useful objects in the STL of C++23? Why should you be careful when calling a C function with a string_view?
Another fun question: Why is a range algorithm better than a regular algorithm? One answer would be that you have "projections" in the ranges algorithms and it makes code cleaner and simpler.
The answers to those questions are endless and show the extent of what you know, and if you're interested in the evolution of the language.