git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@647 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2013-05-12 08:59:11 +00:00
parent 10073f807e
commit 42c2c4e6a4

View file

@ -113,27 +113,27 @@ namespace detail
return s;
}
template< typename T >
stream& operator<<( stream& s, boost::reference_wrapper< T > t )
stream& operator<<( stream& s, const boost::reference_wrapper< T >& t )
{
return s << mock::format( t.get() );
}
template< typename T >
stream& operator<<( stream& s, boost::shared_ptr< T > t )
stream& operator<<( stream& s, const boost::shared_ptr< T >& t )
{
return s << mock::format( t.get() );
}
template< typename T >
stream& operator<<( stream& s, boost::weak_ptr< T > t )
stream& operator<<( stream& s, const boost::weak_ptr< T >& t )
{
return s << mock::format( t.lock() );
}
template< typename T >
stream& operator<<( stream& s, boost::lambda::lambda_functor< T > )
stream& operator<<( stream& s, const boost::lambda::lambda_functor< T >& )
{
return s << '?';
}
template< typename T >
stream& operator<<( stream& s, boost::phoenix::actor< T > )
stream& operator<<( stream& s, const boost::phoenix::actor< T >& )
{
return s << '?';
}