I noticed that some runnable code exercises use C++14, and some use C++17. I didn’t find any way to change or specify it.
It makes a difference e.g. for things like std::is_convertible_v
- it needs c++17 at least.
I suggest using at least c++17 compiler switch for running all samples. Even if the answer is not updated to c++17, it is still good for users to be able to write newer code.
I think it would be worth to also update the answers to c++17 wherever applicable.
Course: https://www.educative.io/courses/templates-in-cpp
Lesson: Educative: Interactive Courses for Software Developers