mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Fix
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@263 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
fc53abcea0
commit
f0dd37cb39
3 changed files with 30 additions and 30 deletions
|
|
@ -232,14 +232,14 @@ namespace detail2
|
|||
return s << ')';
|
||||
}
|
||||
|
||||
template< typename T >
|
||||
BOOST_DEDUCED_TYPENAME boost::enable_if<
|
||||
boost::function_types::is_callable_builtin< T >, stream&
|
||||
>::type
|
||||
operator<<( stream& s, const T* )
|
||||
{
|
||||
return s << '?';
|
||||
}
|
||||
//template< typename T >
|
||||
//BOOST_DEDUCED_TYPENAME boost::enable_if<
|
||||
// boost::function_types::is_callable_builtin< T >, stream&
|
||||
//>::type
|
||||
//operator<<( stream& s, const T& )
|
||||
//{
|
||||
// return s << '?';
|
||||
//}
|
||||
}
|
||||
|
||||
#endif // #ifndef MOCK_LOG_HPP_INCLUDED
|
||||
|
|
|
|||
|
|
@ -429,17 +429,17 @@ BOOST_AUTO_TEST_CASE( false_positive_container_serialization_can_still_be_overri
|
|||
BOOST_CHECK_EQUAL( "false_positive_container", to_string( false_positive_container() ) );
|
||||
}
|
||||
|
||||
namespace
|
||||
{
|
||||
void callable_builtin()
|
||||
{}
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE( callable_builtin_yields_an_interrogation_mark_when_serialized_with_conversions )
|
||||
{
|
||||
BOOST_CHECK_EQUAL( "?", to_string( callable_builtin ) );
|
||||
BOOST_CHECK_EQUAL( "?", to_string( &callable_builtin ) );
|
||||
}
|
||||
//namespace
|
||||
//{
|
||||
// void callable_builtin()
|
||||
// {}
|
||||
//}
|
||||
//
|
||||
//BOOST_AUTO_TEST_CASE( callable_builtin_yields_an_interrogation_mark_when_serialized_with_conversions )
|
||||
//{
|
||||
// BOOST_CHECK_EQUAL( "?", to_string( callable_builtin ) );
|
||||
// BOOST_CHECK_EQUAL( "?", to_string( &callable_builtin ) );
|
||||
//}
|
||||
|
||||
namespace
|
||||
{
|
||||
|
|
|
|||
|
|
@ -425,17 +425,17 @@ BOOST_AUTO_TEST_CASE( false_positive_container_serialization_can_still_be_overri
|
|||
BOOST_CHECK_EQUAL( "false_positive_container", to_string( false_positive_container() ) );
|
||||
}
|
||||
|
||||
namespace
|
||||
{
|
||||
void callable_builtin()
|
||||
{}
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE( callable_builtin_yields_an_interrogation_mark_when_serialized_without_conversions )
|
||||
{
|
||||
BOOST_CHECK_EQUAL( "?", to_string( callable_builtin ) );
|
||||
BOOST_CHECK_EQUAL( "?", to_string( &callable_builtin ) );
|
||||
}
|
||||
//namespace
|
||||
//{
|
||||
// void callable_builtin()
|
||||
// {}
|
||||
//}
|
||||
//
|
||||
//BOOST_AUTO_TEST_CASE( callable_builtin_yields_an_interrogation_mark_when_serialized_without_conversions )
|
||||
//{
|
||||
// BOOST_CHECK_EQUAL( "?", to_string( callable_builtin ) );
|
||||
// BOOST_CHECK_EQUAL( "?", to_string( &callable_builtin ) );
|
||||
//}
|
||||
|
||||
namespace
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue