Better test::enable_yield_to

This commit is contained in:
Vinnie Falco
2017-07-20 08:12:17 -07:00
parent aca14f6b2b
commit f62ac819f5
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);});
}
};