SFINAE code to detect whether operator<< is implemented for a type behaves differently on Clang and gcc

后端 未结 0 1211
死守一世寂寞
死守一世寂寞 2020-12-08 02:52

I\'m just playing around with some SFINAE code and I can\'t get it to work. I\'m using Xcode 12.2 with -std=c++17. godbolt reveals that Clang does indeed choose the false_ty

相关标签:
回答
  • 消灭零回复
提交回复
热议问题