Skip to content
Snippets Groups Projects
Commit 7160dc15 authored by g0dil's avatar g0dil
Browse files

Packets: Add StringParser ostream operation

parent 418282a2
No related branches found
No related tags found
No related merge requests found
......@@ -66,6 +66,12 @@ prefix_ senf::StringParser const & senf::StringParser::operator=(value_type othe
value(other); return *this;
}
prefix_ std::ostream & senf::operator<<(std::ostream & os, StringParser const & value)
{
os << value.value();
return os;
}
///////////////////////////////cci.e///////////////////////////////////////
#undef prefix_
......
......@@ -54,6 +54,8 @@ namespace senf {
operator value_type() const;
StringParser const & operator=(value_type other);
};
std::ostream & operator<<(std::ostream & os, StringParser const & value);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment