Better test::enable_yield_to

This commit is contained in:
Vinnie Falco
2017-05-26 17:05:17 -07:00
parent 9a8bcb7040
commit 9796106e53
6 changed files with 57 additions and 46 deletions
+2 -1
View File
@@ -132,7 +132,8 @@ public:
{
testSpecialMembers();
yield_to(&self::testRead, this);
yield_to([&](yield_context yield){
testRead(yield);});
}
};