(Folly/Gen) Make ranges and sequences take a stepping functor
authorHannes Roth <hannesr@fb.com>
Thu, 17 Apr 2014 16:26:56 +0000 (09:26 -0700)
committerSara Golemon <sgolemon@fb.com>
Fri, 18 Apr 2014 19:04:15 +0000 (12:04 -0700)
commit8cd97e5ff78f2ab125cb604c3df3618e8d6c4ec4
tree8f796689a6b4b81467bc4b3c65ace4cf7f11c181
parentd456b584d94f9e5e48b01277d514999e0f461a7f
(Folly/Gen) Make ranges and sequences take a stepping functor

Summary:
The functor allows to create ranges and sequences that advance the
iterator by more than 1 per iteration.

Test Plan: Unit test.

Reviewed By: tjackson@fb.com

FB internal diff: D1228065
folly/gen/Base-inl.h
folly/gen/Base.h
folly/gen/test/BaseTest.cpp