Using Templates for Generic Programming - Part 1 (Embracing the beauty of SFINAE and enable_if)👋 - Programmer
C++ template programming: SFINAE, std::enable_if, std::enable_if_t, if constexpr, perfect forwarding. In this blog post, we will learn advanced template programming concepts. These concepts include how to change the implementation of classes and functions based on the type provided, how to work with different arguments and how to properly forward them, how to optimize the code in both runtime and compile-time, about SFINAE, std::enable_if, std::enable_if_t.
Using Templates for Generic Programming - Part 1 (Embracing the beauty of SFINAE and enable_if)👋 - Programmer
C++ template programming: SFINAE, std::enable_if, std::enable_if_t, if constexpr, perfect forwarding. In this blog post, we will learn advanced template programming concepts. These concepts include how to change the implementation of classes and functions based on the type provided, how to work with different arguments and how to properly forward them, how to optimize the code in both runtime and compile-time, about SFINAE, std::enable_if, std::enable_if_t.
https://fluentprogrammer.com/using-templates-for-generic-programming-sfinae-enable_if/