I was attempting to use the and_filter, or_filter and not_filter predicates, but my code failed to compile when combining with the other built-in predicates such as id_is. Here is an example that fails to compile:
My code compiles successfully if I alter the id_is::operator function to match the others.
Am I using these predicates wrong? If I'm using them the wrong way, if you supply a working snippet I'd be happy to turn it into an example to put into the code.
If this is a prototype missmatch, happy to also look at fixing that.
I was attempting to use the
and_filter
,or_filter
andnot_filter
predicates, but my code failed to compile when combining with the other built-in predicates such asid_is
. Here is an example that fails to compile:It appears to be because the protoype for the
id_is::opertator
function is:Whilst the
and_
,or_
andnot_
predicates expect it to be:My code compiles successfully if I alter the
id_is::operator
function to match the others.Am I using these predicates wrong? If I'm using them the wrong way, if you supply a working snippet I'd be happy to turn it into an example to put into the code.
If this is a prototype missmatch, happy to also look at fixing that.