I have the following code:
auto x_is_valid = [](const MyX &x) -> bool {
return x.source != MyXValue::ABC;
};
auto objects = var_.var_in_box(*a, b, c, x_is_valid);
I am wondering:
- How is
x_is_valid
computed? - Where does it take its input parameter?
How do I read this properly?
Thanks!