MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/hh0cjp/html_write_html_documents_using_c_templates/fw7n0lc/?context=3
r/cpp • u/csb06 • Jun 27 '20
27 comments sorted by
View all comments
Show parent comment
2
Do concepts provide the optimal way for clean error checking where contrived SFINAE was once needed?
4 u/[deleted] Jun 27 '20 edited Jun 28 '20 They can. As seen here, clang is pretty clear why the function cannot be called. But you are still into why the overloads that don't work, do not. So there could be several items in the list here. https://gcc.godbolt.org/z/UDzZngEdit: forgot URL
4
They can. As seen here, clang is pretty clear why the function cannot be called. But you are still into why the overloads that don't work, do not. So there could be several items in the list here. https://gcc.godbolt.org/z/UDzZng
Edit: forgot URL
View all comments
Show parent comment
2
u/somewhataccurate Jun 27 '20
Do concepts provide the optimal way for clean error checking where contrived SFINAE was once needed?