Since SBuf::size_type and std::string::size_type are now both unsigned
and npos is the same value in both this function is a duplicate and
the stricter compilers complain.
return sbuf.str();
}
+#if 0
/// helper function to convert SBuf position to a human-friendly string
inline std::string
PosToString(const SBuf::size_type pos)
{
return pos == SBuf::npos ? std::string("npos") : AnyToString(pos);
}
+#endif
/// helper function to convert std::string position to a human-friendly string
inline std::string