Skip to content
  • Mark OLESEN's avatar
    ENH: added constant predicates · 8d018e79
    Mark OLESEN authored
    - predicates::always and predicates::never returning true and false,
      respectively. These simple classes make it easier when writing
      templated code.
    
      As well as unary and binary predicate forms, they also contain a
      match(std::string) method for compatibility with regex-based classes.
    
    STYLE: write bool and direction as primitive 'int' not as 'label'.
    8d018e79