namespace ostream into std::ostream for modern C++
This commit is contained in:
@@ -564,11 +564,19 @@ char * q = 0;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(linux)
|
||||||
|
std::ostream & operator<<
|
||||||
|
(
|
||||||
|
std::ostream & os,
|
||||||
|
const CString & s
|
||||||
|
)
|
||||||
|
#else
|
||||||
ostream & operator<<
|
ostream & operator<<
|
||||||
(
|
(
|
||||||
ostream & os,
|
ostream & os,
|
||||||
const CString & s
|
const CString & s
|
||||||
)
|
)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
if (s.isNull())
|
if (s.isNull())
|
||||||
return os << "(null)";
|
return os << "(null)";
|
||||||
|
|||||||
Reference in New Issue
Block a user