Skip to content

Functors: Add ACCEPT and POISON

  • add a predicate Accept which returns either true or false, depending on the argument given at construction time.
  • unify the code used by AcceptAll, AcceptNone and Accept.
  • add a Poison adapter, which impersonates a provided functor (or predicate), but if invoked, throws a GaudiException with a message specified as argument.
Edited by Gerhard Raven

Merge request reports

Loading