C++ idioms everyone should know by Andrii Polyanskyy
ฝัง
- เผยแพร่เมื่อ 5 ต.ค. 2024
- The more expertise you get in C++ the more you think about creating faster, reusable and cleaner code. The goal of this presentation is to show modern C++ idioms and how to use them. The more idioms you know, the friendlier C++ feels. In the current presentation, we will cover basic idioms that every C++ programmer should be aware.
Among an extensive list of C++ idioms, the following were chosen to start with:
CRTP
Return Type Resolver
Erase-remove
RAII
Virtual Constructor - วิทยาศาสตร์และเทคโนโลยี
Great job 👍🏾
Your explanation was thorough and crisp, thanks for sharing. Kindly increase the font size in future videos please
CRTP is a good way to add the copy-ability. Its is a functionality mix-in. That's exactly what's it for: add a typical functionality to a bunch of classes.
1:37 CRTP
8:38 Return type resolver
12:43 Erase-remove
14:18 RAll
20:09 Virtual constructor