Commit 1713c59a authored by Julian Kranz's avatar Julian Kranz

C++ :-(

parent ba083b08
......@@ -113,11 +113,11 @@ void demo_single(gdsl::gdsl &g) {
printf("Assignment\n");
});
v->_([&](variable *a) {
v->_((std::function<void(variable*)>)([&](variable *a) {
std::cout << (*a == *a ? "The variable equals itself" : ":-(") << std::endl;
vars++;
printf("Variable!\n");
});
}));
s->accept(*v);
delete v;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment