Searched refs:mpf (Results 1 – 2 of 2) sorted by relevance
671 MovePreferableFunctor mpf; in TestBareFunctors() local678 tg.run( mpf ); in TestBareFunctors()680 CHECK_MESSAGE(mpf.alive, "object was moved when was passed by lval"); in TestBareFunctors()681 mpf.Reset(); in TestBareFunctors()683 tg.run( std::move(mpf) ); in TestBareFunctors()685 CHECK_MESSAGE(!mpf.alive, "object was copied when was passed by rval"); in TestBareFunctors()686 mpf.Reset(); in TestBareFunctors()
1203 MovePreferableFunctor mpf; in TestFunctors() local1208 ta.enqueue( mpf ); in TestFunctors()1209 REQUIRE_MESSAGE(mpf.alive, "object was moved when was passed by lval"); in TestFunctors()1210 mpf.Reset(); in TestFunctors()1211 ta.enqueue( std::move(mpf) ); in TestFunctors()1212 REQUIRE_MESSAGE(!mpf.alive, "object was copied when was passed by rval"); in TestFunctors()1213 mpf.Reset(); in TestFunctors()