mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Fixed naming clash
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@59 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
f47cc40eae
commit
b3a72751d8
2 changed files with 4 additions and 4 deletions
|
|
@ -46,7 +46,7 @@ namespace detail
|
|||
BOOST_DEDUCED_TYPENAME detail::is_functor< T >::type
|
||||
>::type* = 0 )
|
||||
: functor_( equal( t ).functor_ )
|
||||
, desc_ ( mock::format( t ) )
|
||||
, desc_ ( format( t ) )
|
||||
{
|
||||
if( !functor_ )
|
||||
std::invalid_argument( "invalid functor" );
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ namespace detail
|
|||
{};
|
||||
|
||||
template< typename T >
|
||||
std::string format( const T& t,
|
||||
std::string serialize( const T& t,
|
||||
BOOST_DEDUCED_TYPENAME boost::enable_if<
|
||||
BOOST_DEDUCED_TYPENAME detail::is_serializable< T >::type >::type* = 0 )
|
||||
{
|
||||
|
|
@ -54,7 +54,7 @@ namespace detail
|
|||
return s.str();
|
||||
}
|
||||
template< typename T >
|
||||
std::string format( const T&,
|
||||
std::string serialize( const T&,
|
||||
BOOST_DEDUCED_TYPENAME boost::disable_if<
|
||||
BOOST_DEDUCED_TYPENAME detail::is_serializable< T >::type >::type* = 0 )
|
||||
{
|
||||
|
|
@ -65,7 +65,7 @@ namespace detail
|
|||
template< typename T >
|
||||
std::string format( const T& t )
|
||||
{
|
||||
return detail::format( t );
|
||||
return detail::serialize( t );
|
||||
}
|
||||
inline std::string format( const std::string& s )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue