forked from boostorg/optional
Add operator<< for boost::none
This commit is contained in:
1 parent
53e53171c4
commit
1d3446304b
2 files changed
+19
No files matched your search
@@ -23,6 +23,15 @@
|
||||
namespace boost
|
||||
{
|
||||
|
||||
template<class CharType, class CharTrait>
|
||||
inline
|
||||
std::basic_ostream<CharType, CharTrait>&
|
||||
operator<<(std::basic_ostream<CharType, CharTrait>& out, none_t const&)
|
||||
{
|
||||
out << "--";
|
||||
return out;
|
||||
}
|
||||
|
||||
template<class CharType, class CharTrait, class T>
|
||||
inline
|
||||
std::basic_ostream<CharType, CharTrait>&
|
||||
|
||||
Reference in new issue
Block a user