• Peter Griess's avatar
    Use libc++ equivalent of std::__ostream_insert() · 13369e8f
    Peter Griess authored
    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
    13369e8f
FBString.h 75.7 KB