-
-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Labels
good first issueGood for newcomersGood for newcomers
Description
Could having to use id variables be replaced with lambda parameters?
eg: instead of this
Id<string> text;
match(variant)(
pattern | as<string>(text) = [&] {
std::cout << "Text message: " << *text << std::endl;
})this
match(variant)(
pattern | as<string> = [](const string& text) {
std::cout << "Text message: " << text << std::endl;
})Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers