News for hackers. Stuff that matters.
Re:C++ Core Guidelines by ourson on Friday September 18, 2015 @06:51PM (#10242484)
It is. using namespace std::rel_ops;
Re:C++ Core Guidelines by ant6n on Friday September 18, 2015 @09:56PM (#10243006)
It looks like this isn't attached to the class definition, but rather to the uses. I.e. for every use of a class that only defines ==, <, you have to include rel_ops. But then it would basically provide the other comparators to all classes, maybe not something you'd want.