Refactoring

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@627 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2013-04-23 22:48:35 +00:00
parent 48f577182e
commit 2810694971
2 changed files with 10 additions and 7 deletions

View file

@ -153,6 +153,11 @@ namespace detail
{} \
template< typename Actual > \
bool operator()( const Actual& actual ) const \
{ \
return test( actual, boost::unwrap_ref( expected_ ) ); \
} \
template< typename Actual, typename T > \
bool test( const Actual& actual, const T& expected ) const \
{ \
return Expr; \
} \