folly/String: split out `UTF8StringPiece`
Summary: This has functionality not overlapping with `FBString` or `folly::fbstring` or `folly::StringPiece`; and a pretty expensive dependency on `boost/regex`. Much of the thrift-gen `_types.h` code comes from this inclusion chain: * `_types.h` uses strings (for `str` fields in thrift structs); these are represented by `folly::fbstring`, from... * `folly/String.h` includes `FBString.h` and other things to support string-related stuff; simple enough. But it has a class `UTF8StringPiece`, which uses an iterator, from Boost called `boost::u8_to_u32_iterator<char const *>`. So then we have... * `boost/regex/pending/unicode_iterator.hpp` includes tons of things in the usual boost header avalanche: iterator facades, lots of `mpl` code. Reviewed By: meyering Differential Revision: D7373577 fbshipit-source-id: efdb920b6fe8c7b7c57d3becf2bf0710975fcf73
Showing
folly/UTF8String.h
0 → 100644
Please register or sign in to comment