C++: Difference between revisions

30 bytes removed ,  17 January 2021
Line 543: Line 543:
===Modern C++===
===Modern C++===
[https://github.com/rigtorp/awesome-modern-cpp List of resources]<br>
[https://github.com/rigtorp/awesome-modern-cpp List of resources]<br>
Prefer newer std functions available in C++17.<br>
* Use RAII principles.
Use shared pointers instead of new and delete.<br>
* Use smart pointers instead of new and delete.
* Use clang-format.
* Use clang-format.
===Orthodox C++===
===Orthodox C++===
[https://gist.github.com/bkaradzic/2e39896bc7d8c34e042b Reference]<br>
[https://gist.github.com/bkaradzic/2e39896bc7d8c34e042b Reference]<br>