#else
-#include <pbd/stacktrace.h>
+#include "pbd/stacktrace.h"
#ifndef BOOST_SHARED_PTR_HPP_INCLUDED
#define BOOST_SHARED_PTR_HPP_INCLUDED
// See http://www.boost.org/libs/smart_ptr/shared_ptr.htm for documentation.
//
-#include <pbd/stacktrace.h>
+#include "pbd/stacktrace.h"
#include <boost/config.hpp> // for broken compiler workarounds
BOOST_ASSERT(px != 0);
return px;
}
-
+
T * get() const // never throws
{
return px;
( defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ < 304) )
typedef T * (this_type::*unspecified_bool_type)() const;
-
+
operator unspecified_bool_type() const // never throws
{
return px == 0? 0: &this_type::get;
}
-#else
+#else
typedef T * this_type::*unspecified_bool_type;
template<class E, class T, class Y> basic_ostream<E, T> & operator<< (basic_ostream<E, T> & os, shared_ptr<Y> const & p)
# else
template<class E, class T, class Y> std::basic_ostream<E, T> & operator<< (std::basic_ostream<E, T> & os, shared_ptr<Y> const & p)
-# endif
+# endif
{
os << p.get();
return os;
#ifdef BOOST_MSVC
# pragma warning(pop)
-#endif
+#endif
#endif // #if defined(BOOST_NO_MEMBER_TEMPLATES) && !defined(BOOST_MSVC6_MEMBER_TEMPLATES)