Home
last modified time | relevance | path

Searched refs:mpf (Results 1 – 2 of 2) sorted by relevance

/oneTBB/test/tbb/
H A Dtest_task_group.cpp671 MovePreferableFunctor mpf; in TestBareFunctors() local
678 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()
H A Dtest_task_arena.cpp1203 MovePreferableFunctor mpf; in TestFunctors() local
1208 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()