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
The convenience operators should be constrained to only take predicates or similar. Otherwise, if they're in scope, then all sorts of nonsense starts compiling:
using namespace KDAlgorithms::Operators;
std::string to_be;
to_be || !to_be; // that is the question
(Granted, one can't really use the return value of these operators, as it would immediately then trigger compilation errors)
The text was updated successfully, but these errors were encountered:
The convenience operators should be constrained to only take predicates or similar. Otherwise, if they're in scope, then all sorts of nonsense starts compiling:
(Granted, one can't really use the return value of these operators, as it would immediately then trigger compilation errors)
The text was updated successfully, but these errors were encountered: