Break out BitIterator into its own header
authorAndrew Krieger <andrew.krieger@oculus.com>
Sat, 28 Oct 2017 20:47:17 +0000 (13:47 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 28 Oct 2017 20:51:36 +0000 (13:51 -0700)
commitcbd3e7fb74200100ffadf0fee2a9ab5c490f4051
tree59e77d3e18e4f3f99fa8418626e0fccc76033646
parente89f46cd508ae85a0d0917119f5a73651e9af1b2
Break out BitIterator into its own header

Summary:
BitIterator is a standalone construct that has a heavy boost
dependency, but not common usage. Breaking it out into its own header
will help a lot of transitive dependendencies, because it is included
in Hash.h which is included in a variety of other common headers.

This reduces the number of transitively included headers by 248 (!)

Reviewed By: yfeldblum, ot, luciang

Differential Revision: D6178564

fbshipit-source-id: 1380154b012615b7b8c73bc15ab0ac62f6b990d3
folly/BitIterator.h [new file with mode: 0644]
folly/Bits.h
folly/io/async/HHWheelTimer.cpp
folly/test/BitIteratorTest.cpp
folly/test/IPAddressTest.cpp