Extend range, view functionality.
* New `filter` view: lazily selects based on predicate. * Generic `front` and `back` for sequences. * New rangeutil STL wrappers `stable_sort_by`, `all_of`, `any_of`. * Consolidate common utility unit testing structures into `tests/unit/common.hpp`
Showing
- src/util/filter.hpp 227 additions, 0 deletionssrc/util/filter.hpp
- src/util/iterutil.hpp 14 additions, 0 deletionssrc/util/iterutil.hpp
- src/util/rangeutil.hpp 41 additions, 0 deletionssrc/util/rangeutil.hpp
- tests/unit/CMakeLists.txt 1 addition, 0 deletionstests/unit/CMakeLists.txt
- tests/unit/common.hpp 109 additions, 0 deletionstests/unit/common.hpp
- tests/unit/test_filter.cpp 96 additions, 0 deletionstests/unit/test_filter.cpp
- tests/unit/test_optional.cpp 12 additions, 36 deletionstests/unit/test_optional.cpp
- tests/unit/test_range.cpp 45 additions, 17 deletionstests/unit/test_range.cpp
- tests/unit/test_uninitialized.cpp 3 additions, 34 deletionstests/unit/test_uninitialized.cpp
Please register or sign in to comment