Page MenuHomePhabricator

cfi_test.cc

#include <future>
int main() {
auto l = []() {};
std::packaged_task<void()> t1(l);
std::packaged_task<void()> t2(std::move(t1));
t2();
{
std::packaged_task<void()> t3;
}
t1.swap(t2);
std::packaged_task<void()> t4;
t4 = std::packaged_task<void()>();
return 0;
}

File Metadata

Mime Type
text/x-c
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6822197

Event Timeline