Fix StringPiece ostream overloads to properly not rely on <ostream>
Summary: std::ostream may be incomplete because Range.h doesn't use <ostream>, only <iosfwd>. Changing the operator<< overloads to be templated on the char type defers typechecking until callsites, which will avoid the potential problem. Reviewed By: yfeldblum, ericniebler Differential Revision: D5494648 fbshipit-source-id: e59b6fdfba6c08ec70ebb1e10c14a43307a1119f
Showing
Please register or sign in to comment