summaryrefslogtreecommitdiff
path: root/tests/test_header_iostream_1.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-11-03 18:33:08 +0100
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-11-03 18:41:18 +0100
commit3950ee0433aaed3c35eaee7548bae5b00ee22a80 (patch)
tree92b0583828d33849b7cc622ae5fed1fb4ce02010 /tests/test_header_iostream_1.cpp
parent97a515f8733d9555278b6eb3f3dc244a9580c308 (diff)
XPath: Refactor predicate application
Split number/boolean filtering logic into two functions. This creates an extra copy of a remove_if-like algorithm, but moves the type check out of the loop and results in better organized filtering code. Consolidate test-based dispatch into apply_predicate (which is now a member function).
Diffstat (limited to 'tests/test_header_iostream_1.cpp')
0 files changed, 0 insertions, 0 deletions