mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Use std::reference_wrapper instead of boost
This commit is contained in:
parent
353849e9ad
commit
35e43d58a6
16 changed files with 116 additions and 90 deletions
|
|
@ -28,8 +28,8 @@ BOOST_AUTO_TEST_CASE( int_and_int_can_be_compared )
|
|||
BOOST_AUTO_TEST_CASE( ref_to_int_and_int_can_be_compared )
|
||||
{
|
||||
const int i = 3;
|
||||
BOOST_CHECK( match( 3, boost::cref( i ) ) );
|
||||
BOOST_CHECK( ! match( 4, boost::cref( i ) ) );
|
||||
BOOST_CHECK( match( 3, std::cref( i ) ) );
|
||||
BOOST_CHECK( ! match( 4, std::cref( i ) ) );
|
||||
}
|
||||
|
||||
namespace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue