You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would often be useful to write something like this:
constauto v = calculateSomeVectorOfInts();
CHECK_THAT(v, RangeEquals({1, 2, 3}));
This doesn't compile. It can be made to compile by adding an overload to RangeEquals that takes a std::initializer_list. Would a PR adding such an overload have a chance of being accepted?
It's not a huge issue since there are workarounds, including any of these:
It would often be useful to write something like this:
This doesn't compile. It can be made to compile by adding an overload to RangeEquals that takes a std::initializer_list. Would a PR adding such an overload have a chance of being accepted?
It's not a huge issue since there are workarounds, including any of these:
Still, the convenience of writing the initializer_list inline without extra qualification would be nice.
The text was updated successfully, but these errors were encountered: