What Changed From C++11 to C++20
"Which C++17 feature do you use most, and why?" is an easy question to answer badly. A list of feature names shows that you have read a summary. What the interviewer wants is the reason a feature exists, what it costs at runtime and where it goes wrong. Trading codebases are also rarely on one standard: a firm may build its newest services with C++20 and still maintain libraries that began as C++11, so you need to read all four.
C++11: the language most code is written in
C++11 is where modern C++ starts, and most of the other lessons in this course depend on it: move semantics and rvalue references, std::unique_ptr and std::shared_ptr, lambdas, auto, nullptr, enum class, override and final, = default and = delete, variadic templates, noexcept, and a standard thread library with std::thread, std::mutex, std::condition_variable and std::atomic. constexpr arrived too, but a constexpr function could contain only a single return statement.
The rest of this lesson is for subscribers
Unlock every lesson in Systems Programming for Trading, and every other premium course.
Subscribe to continueTest your knowledge
Keep reading Systems Programming for Trading
27 lessons in this course, and every other premium course, on one subscription.
- Every lesson in every course, with the worked examples and interactive simulators
- Graded questions on every lesson, with explanations for the wrong answers as well as the right one
- The trainers, timed assessments and brainteaser library that go with them