make Range::size() constexpr
Summary: Declare size() to return a constexpr value, so it can be called on constexpr Range objects. This unfortunately does drop the existing assert() check, due to a gcc bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71448 Reviewed By: lbrandy Differential Revision: D3394612 fbshipit-source-id: 77ea3b961dc323a39dea6f0e5850f9a311210d09
Showing
Please register or sign in to comment