Add constexpr to the simple folly::Range accessors (begin, end, data, empty, etc)
authorEric Niebler <eniebler@fb.com>
Wed, 30 Nov 2016 03:42:04 +0000 (19:42 -0800)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Wed, 30 Nov 2016 03:53:31 +0000 (19:53 -0800)
commitf972b1ee32509823b2331c9bdecac14949e7e740
tree6a0d0ba1d18819131a9f2bc327381e834ffa89db
parent59a501cff93ae2ac4751f3b49f00f8937301e404
Add constexpr to the simple folly::Range accessors (begin, end, data, empty, etc)

Summary: More constexpr is better!

Reviewed By: yfeldblum, luciang, ot

Differential Revision: D4244996

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