range(), for making Range<T*> from arrays and std::vector
authorTom Jackson <tjackson@fb.com>
Wed, 12 Mar 2014 23:31:41 +0000 (16:31 -0700)
committerSara Golemon <sgolemon@fb.com>
Tue, 18 Mar 2014 21:14:22 +0000 (14:14 -0700)
commitd9c79af86a4dc0576d8df453804d3354347c07dc
tree65e2940c13cdb6f057c2b6932fd2bd103a97e51e
parent00162667c58a92d29a3af16bb11664da337a3c49
range(), for making Range<T*> from arrays and std::vector

Summary: So people can more easily write functions which take contiguous values from memory.

Test Plan: Unit tests

Reviewed By: tudorb@fb.com

FB internal diff: D1217809
folly/Range.h
folly/gen/test/BaseBenchmark.cpp
folly/gen/test/BaseTest.cpp
folly/json.cpp
folly/test/DynamicConverterTest.cpp
folly/test/RangeTest.cpp