logoalt Hacker News

meindnochyesterday at 11:43 AM1 replyview on HN

Coming from other languages with generics, it took a while for me to internalize SFINAE when writing templated code.


Replies

spacechild1yesterday at 1:54 PM

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).