├── .github └── workflows │ └── cmake.yaml ├── .gitignore ├── CMakeLists.txt ├── CMakeSettings.json ├── COPYING ├── README.md ├── cmake └── tl-ranges-config.cmake.in ├── include └── tl │ ├── adjacent.hpp │ ├── adjacent_transform.hpp │ ├── basic_iterator.hpp │ ├── cache_latest.hpp │ ├── cartesian_product.hpp │ ├── chunk.hpp │ ├── chunk_by.hpp │ ├── chunk_by_key.hpp │ ├── common.hpp │ ├── concat.hpp │ ├── cycle.hpp │ ├── enumerate.hpp │ ├── fold.hpp │ ├── functional │ ├── bind.hpp │ ├── compose.hpp │ ├── curry.hpp │ ├── lift.hpp │ ├── pipeable.hpp │ └── predicates.hpp │ ├── generate.hpp │ ├── generate_n.hpp │ ├── getlines.hpp │ ├── k_combinations.hpp │ ├── partial_sum.hpp │ ├── repeat.hpp │ ├── repeat_n.hpp │ ├── slide.hpp │ ├── stride.hpp │ ├── to.hpp │ ├── transform_join.hpp │ ├── transform_maybe.hpp │ ├── utility │ ├── meta.hpp │ ├── non_propagating_cache.hpp │ ├── semiregular_box.hpp │ └── tuple_utils.hpp │ ├── weaken.hpp │ ├── zip.hpp │ └── zip_transform.hpp └── tests ├── adjacent.cpp ├── adjacent_transform.cpp ├── cache_latest.cpp ├── cartesian_product.cpp ├── chunk.cpp ├── chunk_by.cpp ├── chunk_by_key.cpp ├── common.cpp ├── concat.cpp ├── cycle.cpp ├── enumerate.cpp ├── fold.cpp ├── functional.cpp ├── generate.cpp ├── generate_n.cpp ├── getlines.cpp ├── integration.cpp ├── k_combinations.cpp ├── meta.cpp ├── partial_sum.cpp ├── predicates.cpp ├── repeat.cpp ├── repeat_n.cpp ├── slide.cpp ├── stride.cpp ├── to.cpp ├── transform_join.cpp ├── transform_maybe.cpp ├── tuple_utils.cpp ├── weaken.cpp ├── zip.cpp └── zip_transform.cpp /.github/workflows/cmake.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/.github/workflows/cmake.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/.gitignore -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /CMakeSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/CMakeSettings.json -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/COPYING -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/README.md -------------------------------------------------------------------------------- /cmake/tl-ranges-config.cmake.in: -------------------------------------------------------------------------------- 1 | @PACKAGE_INIT@ 2 | 3 | include("${CMAKE_CURRENT_LIST_DIR}/tl-ranges-targets.cmake") -------------------------------------------------------------------------------- /include/tl/adjacent.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/adjacent.hpp -------------------------------------------------------------------------------- /include/tl/adjacent_transform.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/adjacent_transform.hpp -------------------------------------------------------------------------------- /include/tl/basic_iterator.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/basic_iterator.hpp -------------------------------------------------------------------------------- /include/tl/cache_latest.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/cache_latest.hpp -------------------------------------------------------------------------------- /include/tl/cartesian_product.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/cartesian_product.hpp -------------------------------------------------------------------------------- /include/tl/chunk.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/chunk.hpp -------------------------------------------------------------------------------- /include/tl/chunk_by.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/chunk_by.hpp -------------------------------------------------------------------------------- /include/tl/chunk_by_key.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/chunk_by_key.hpp -------------------------------------------------------------------------------- /include/tl/common.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/common.hpp -------------------------------------------------------------------------------- /include/tl/concat.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/concat.hpp -------------------------------------------------------------------------------- /include/tl/cycle.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/cycle.hpp -------------------------------------------------------------------------------- /include/tl/enumerate.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/enumerate.hpp -------------------------------------------------------------------------------- /include/tl/fold.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/fold.hpp -------------------------------------------------------------------------------- /include/tl/functional/bind.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/functional/bind.hpp -------------------------------------------------------------------------------- /include/tl/functional/compose.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/functional/compose.hpp -------------------------------------------------------------------------------- /include/tl/functional/curry.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/functional/curry.hpp -------------------------------------------------------------------------------- /include/tl/functional/lift.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/functional/lift.hpp -------------------------------------------------------------------------------- /include/tl/functional/pipeable.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/functional/pipeable.hpp -------------------------------------------------------------------------------- /include/tl/functional/predicates.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/functional/predicates.hpp -------------------------------------------------------------------------------- /include/tl/generate.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/generate.hpp -------------------------------------------------------------------------------- /include/tl/generate_n.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/generate_n.hpp -------------------------------------------------------------------------------- /include/tl/getlines.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/getlines.hpp -------------------------------------------------------------------------------- /include/tl/k_combinations.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/k_combinations.hpp -------------------------------------------------------------------------------- /include/tl/partial_sum.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/partial_sum.hpp -------------------------------------------------------------------------------- /include/tl/repeat.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/repeat.hpp -------------------------------------------------------------------------------- /include/tl/repeat_n.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/repeat_n.hpp -------------------------------------------------------------------------------- /include/tl/slide.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/slide.hpp -------------------------------------------------------------------------------- /include/tl/stride.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/stride.hpp -------------------------------------------------------------------------------- /include/tl/to.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/to.hpp -------------------------------------------------------------------------------- /include/tl/transform_join.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/transform_join.hpp -------------------------------------------------------------------------------- /include/tl/transform_maybe.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/transform_maybe.hpp -------------------------------------------------------------------------------- /include/tl/utility/meta.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/utility/meta.hpp -------------------------------------------------------------------------------- /include/tl/utility/non_propagating_cache.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/utility/non_propagating_cache.hpp -------------------------------------------------------------------------------- /include/tl/utility/semiregular_box.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/utility/semiregular_box.hpp -------------------------------------------------------------------------------- /include/tl/utility/tuple_utils.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/utility/tuple_utils.hpp -------------------------------------------------------------------------------- /include/tl/weaken.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/weaken.hpp -------------------------------------------------------------------------------- /include/tl/zip.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/zip.hpp -------------------------------------------------------------------------------- /include/tl/zip_transform.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/include/tl/zip_transform.hpp -------------------------------------------------------------------------------- /tests/adjacent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/adjacent.cpp -------------------------------------------------------------------------------- /tests/adjacent_transform.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/adjacent_transform.cpp -------------------------------------------------------------------------------- /tests/cache_latest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/cache_latest.cpp -------------------------------------------------------------------------------- /tests/cartesian_product.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/cartesian_product.cpp -------------------------------------------------------------------------------- /tests/chunk.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/chunk.cpp -------------------------------------------------------------------------------- /tests/chunk_by.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/chunk_by.cpp -------------------------------------------------------------------------------- /tests/chunk_by_key.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/chunk_by_key.cpp -------------------------------------------------------------------------------- /tests/common.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/common.cpp -------------------------------------------------------------------------------- /tests/concat.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/concat.cpp -------------------------------------------------------------------------------- /tests/cycle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/cycle.cpp -------------------------------------------------------------------------------- /tests/enumerate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/enumerate.cpp -------------------------------------------------------------------------------- /tests/fold.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/fold.cpp -------------------------------------------------------------------------------- /tests/functional.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/functional.cpp -------------------------------------------------------------------------------- /tests/generate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/generate.cpp -------------------------------------------------------------------------------- /tests/generate_n.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/generate_n.cpp -------------------------------------------------------------------------------- /tests/getlines.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/getlines.cpp -------------------------------------------------------------------------------- /tests/integration.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/integration.cpp -------------------------------------------------------------------------------- /tests/k_combinations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/k_combinations.cpp -------------------------------------------------------------------------------- /tests/meta.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/meta.cpp -------------------------------------------------------------------------------- /tests/partial_sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/partial_sum.cpp -------------------------------------------------------------------------------- /tests/predicates.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/predicates.cpp -------------------------------------------------------------------------------- /tests/repeat.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/repeat.cpp -------------------------------------------------------------------------------- /tests/repeat_n.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/repeat_n.cpp -------------------------------------------------------------------------------- /tests/slide.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/slide.cpp -------------------------------------------------------------------------------- /tests/stride.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/stride.cpp -------------------------------------------------------------------------------- /tests/to.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/to.cpp -------------------------------------------------------------------------------- /tests/transform_join.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/transform_join.cpp -------------------------------------------------------------------------------- /tests/transform_maybe.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/transform_maybe.cpp -------------------------------------------------------------------------------- /tests/tuple_utils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/tuple_utils.cpp -------------------------------------------------------------------------------- /tests/weaken.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/weaken.cpp -------------------------------------------------------------------------------- /tests/zip.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/zip.cpp -------------------------------------------------------------------------------- /tests/zip_transform.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TartanLlama/ranges/HEAD/tests/zip_transform.cpp --------------------------------------------------------------------------------