sizeof works just as well as numeric_limits<T>::digits
authorTudor Bosman <tudorb@fb.com>
Fri, 10 Aug 2012 21:22:05 +0000 (14:22 -0700)
committerTudor Bosman <tudorb@fb.com>
Sun, 26 Aug 2012 18:12:25 +0000 (11:12 -0700)
commit442e1c0c6ffebf233bae7367bc49a4d90c149b0b
treee5a31d5282e5a935f421e3bb95683faec287c3da
parentbf188b34715fbcd67abc29ab67296ef66567cd44
sizeof works just as well as numeric_limits<T>::digits

Summary: ... and is shorter and more readable

Test Plan: folly/test

Reviewed By: andrei.alexandrescu@fb.com

FB internal diff: D545774
folly/Bits.h