Quantcast
Channel: User HolyBlackCat - Stack Overflow
Viewing all articles
Browse latest Browse all 1287

Comment by HolyBlackCat on How to test concepts retroactively based on post-defined overloads

$
0
0
This is a consequence of declaring operators in the wrong namespaces. They must be where ADL can find them, so the one for std::pair would need to be in namespace std (which is illegal, therefore your idea is impossible to achieve).

Viewing all articles
Browse latest Browse all 1287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>