↧
Answer by indi for Using SFINAE to provide "default" output operators
I like the idea generally—it’s not bad at all—but the one thing that really raises my hackles about it is that you’re using operator<<(ostream&, T), the standard stream inserter interface, as...
View ArticleUsing SFINAE to provide "default" output operators
I am an undergraduate CS student trying to implement simple unit test framework on C++ as a pet project.The framework has an assertion macro like ASSERT_EQ(var1, var2), which checks whether two...
View Article