Make Range.h and FBString.h mutually independent
authorYedidya Feldblum <yfeldblum@fb.com>
Tue, 17 Oct 2017 03:10:35 +0000 (20:10 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 17 Oct 2017 03:21:22 +0000 (20:21 -0700)
commit1d4de585b9bee671244190cf24df528c13b1fb06
tree5bd3e401b615d5257d61e7bc9191ea71e7a6baf3
parentd201571cbc608cc395f68355c145574efcc18cc0
Make Range.h and FBString.h mutually independent

Summary:
[Folly] Make `Range.h` and `FBString.h` mutually independent.

This means that `Range` cannot directly know about `fbstring`, so any interactions between the two types must be indirected through templates.

Motivation: `FBString.h` is a relatively heaviweight `#include` for things that need `Range.h` but which do not use `fbstring`.

Reviewed By: ericniebler

Differential Revision: D6062434

fbshipit-source-id: e2f21c33f482eadffd0a8679eff4ece59bab53e9
folly/FBString.h
folly/FixedString.h
folly/Format-inl.h
folly/IPAddressV4.h
folly/IPAddressV6.h
folly/Range.h
folly/ThreadName.cpp