Let folly::range be constexpr
authorYedidya Feldblum <yfeldblum@fb.com>
Sun, 6 Nov 2016 21:09:44 +0000 (13:09 -0800)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Sun, 6 Nov 2016 21:23:28 +0000 (13:23 -0800)
commit621adb9cdb959d778c17a1d309cf37e4b84d868d
tree69604e4b2f21ba52253cc5cd84a978bd41babc45
parentc37d27db6fd24939e60a3ab2823b3c0fbf5823cb
Let folly::range be constexpr

Summary:
[Folly] Let `folly::range` be `constexpr`.

It will be useful to have this helper function be `constexpr` to support further compile-time code.

Reviewed By: juchem

Differential Revision: D4135943

fbshipit-source-id: a62be93f9e492ca302130d1a3b190ed4b69f7a80
folly/Range.h
folly/test/RangeTest.cpp