Comment by meindnoch
16 hours ago
Coming from other languages with generics, it took a while for me to internalize SFINAE when writing templated code.
16 hours ago
Coming from other languages with generics, it took a while for me to internalize SFINAE when writing templated code.
Luckily, with C++17's if-constexpr and C++20's concepts, SFINAE has become mostly obsolete for new C++ code (unless you have/want to support older C++ standards).