constexpr-ize folly/Bits.h
authorPhilip Pronin <philipp@fb.com>
Sun, 11 Nov 2012 01:56:51 +0000 (17:56 -0800)
committerJordan DeLong <jdelong@fb.com>
Sun, 16 Dec 2012 22:44:22 +0000 (14:44 -0800)
commit6aa05bb90edebaa6c507300c306086a9d8b060e4
tree7456c515eccbb5c49d37abe089f567ee7b2e0240
parent91d0ef0eb9a7e561b28fcf2441259d5e85c0c11b
constexpr-ize folly/Bits.h

Summary:
Want to be able to call them from other constexpr functions
and from within static_assert()s.

Test Plan: compiled and ran folly tests

Reviewed By: tudorb@fb.com

FB internal diff: D627413
folly/Bits.h
folly/test/BitsTest.cpp