mirror of
https://github.com/boostorg/smart_ptr.git
synced 2026-05-05 12:24:17 +02:00
-Wundef fixes.
[SVN r18788]
This commit is contained in:
@@ -246,7 +246,7 @@ public:
|
||||
|
||||
// implicit conversion to "bool"
|
||||
|
||||
#if BOOST_WORKAROUND(__SUNPRO_CC, <= 0x530)
|
||||
#if defined(__SUNPRO_CC) && BOOST_WORKAROUND(__SUNPRO_CC, <= 0x530)
|
||||
|
||||
operator bool () const
|
||||
{
|
||||
@@ -398,7 +398,7 @@ template<class Y> std::ostream & operator<< (std::ostream & os, shared_ptr<Y> co
|
||||
|
||||
#else
|
||||
|
||||
# if BOOST_WORKAROUND(BOOST_MSVC, <= 1200 && __SGI_STL_PORT)
|
||||
# if defined(BOOST_MSVC) && BOOST_WORKAROUND(BOOST_MSVC, <= 1200 && __SGI_STL_PORT)
|
||||
// MSVC6 has problems finding std::basic_ostream through the using declaration in namespace _STL
|
||||
using std::basic_ostream;
|
||||
template<class E, class T, class Y> basic_ostream<E, T> & operator<< (basic_ostream<E, T> & os, shared_ptr<Y> const & p)
|
||||
|
||||
Reference in New Issue
Block a user