Cpp

  • Published on
    Learn about the proper scenarios for using move and forward in C++ functions to return values efficiently. Avoid over-optimization and trust the compilers optimizations.
  • Published on
    Understanding when to use std::move and std::forward in C++ is crucial for efficient programming. The rule of thumb is to use std::move for temporary values (rvalue references) and std::forward for universal references.
  • Published on
    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.
  • Published on
    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.
  • Published on
    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.
  • Published on
    auto keyword is an integral part of modern C++. its a good practice to use auto in various coding scenarios and this blog will highlight some of the most important use cases where you should prefer using auto keyword.
  • Published on
    In this blog, we delve into the intriguing world of function pointers in C++. Function pointers, which are pointers that hold the address of a function, offer a way to make your C++ programs more flexible and dynamic. We start from the basics, introducing the concept with simple examples, and then navigate through the syntax complexities using the handy tool typedef.