Use libc++ equivalent of std::__ostream_insert()
authorPeter Griess <pgriess@fb.com>
Fri, 20 Dec 2013 19:27:06 +0000 (11:27 -0800)
committerSara Golemon <sgolemon@fb.com>
Thu, 6 Feb 2014 19:50:13 +0000 (11:50 -0800)
commit13369e8fbfe71fc49ee63a5b6de76b4258e56963
tree5ef19245e397677be00daf727c000b2cb2f1e836
parentd5a042384b5fc138a07c285fca966a0b89283fd8
Use libc++ equivalent of std::__ostream_insert()

Summary:
- In libstdc++, existing code uses the internal std::__ostream_insert()
method to write a formatted string that can include '\0' characters.
This internal method doesn't exist in libc++. Instead, use the
relevant internal bits.

Test Plan:
- fbconfig -r folly && fbmake runtests
- ./configure && make check on Mac OS X

Reviewed By: njormrod@fb.com

FB internal diff: D1108540
folly/FBString.h