uri: remove componentwise ostream operator

componentwise output was a surprising behaviour for what is sometimes a
string-like object. users can elect to write the entire string via all()
or the components manually as required.
This commit is contained in:
Danny Robson 2017-12-22 18:35:47 +11:00
parent a6af7a8657
commit d1649d4acf
2 changed files with 0 additions and 9 deletions

View File

@ -215,11 +215,3 @@ util::operator<< (std::ostream &os, util::uri::component c)
unreachable ();
}
//-----------------------------------------------------------------------------
std::ostream&
util::operator<< (std::ostream &os, const util::uri &val)
{
return os << '[' << util::make_infix (val.components ()) << ']';
}

View File

@ -94,7 +94,6 @@ namespace util {
std::string m_value;
};
std::ostream& operator<< (std::ostream&, const uri&);
std::ostream& operator<< (std::ostream&, uri::component);
}