Retire BOOST_STATIC_ASSERT in favor of static_assert
Summary:
Retire `BOOST_STATIC_ASSERT` in favor of `static_assert`.
`static_assert` is part of C++ now, so we don't need workarounds like `BOOST_STATIC_ASSERT` anymore.
Partially automated:
hg grep -lw BOOST_STATIC_ASSERT | xargs perl -pi -e 's~\bBOOST_STATIC_ASSERT\(([^;]*)\);~static_assert(\1, "");~g'
hg grep -lw 'boost/static_assert.hpp' | xargs perl -pi -e 's,^#include <boost/static_assert\.hpp>\n,,gm'
Caught most instances. Formatting and remaining instances addressed manually.
Reviewed By: meyering
Differential Revision:
D3215944
fb-gh-sync-id:
f4552d5d9bfc416ce283923abe880437a4d0cba5
fbshipit-source-id:
f4552d5d9bfc416ce283923abe880437a4d0cba5