Skip to content

Me wasting time with writing some itertools esque functionality in C++ 20's ranges style

Notifications You must be signed in to change notification settings

alal4465/PyRanges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyRanges

Me wasting time with writing some itertools esque functionality in C++ 20's ranges style.

Stuff like:

for (auto&& [i, n] : PyRanges::range(3, 5) | PyRanges::enumerate) {
  std::cout << '[' << i << ", " << n << "]\n";
}
/*
[0, 3]
[1, 4]
*/

Edit: I just found out this is basically just a worst version of cppitertools.

About

Me wasting time with writing some itertools esque functionality in C++ 20's ranges style

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages