Add 'long long' support to UTF-8 stream class.

This commit is contained in:
Daniel James
2014-02-09 00:37:03 +00:00
parent 1981dd1e25
commit fa3097e71f
2 changed files with 18 additions and 0 deletions

View File

@@ -307,6 +307,18 @@ namespace detail {
return *this;
}
#if !defined(BOOST_NO_LONG_LONG)
ostream& ostream::operator<<(long long x) {
base << x;
return *this;
}
ostream& ostream::operator<<(unsigned long long x) {
base << x;
return *this;
}
#endif
ostream& ostream::operator<<(fs::path const& x) {
base << path_to_stream(x);
return *this;