Dive into the world of C++ references! Learn about rvalue references and universal references, what makes them different, and how to use them for better coding.
In this beginner-friendly blog post, we explore fundamental concepts in C++ programming: R-value references, std::move, and std::forward. These concepts might sound complex, but they are crucial for writing efficient and high-performance C++ code.
This blog talks extensively about the rationale behind defining copy constructors and move constructors. It also talks about few edge cases when we need to be careful.
constexpr is a keyword that was introduced in C++ 11 and revised in C++14. It is extremely versatile and it is a good practice to incorporate it in a lot of situations.