If a lambda is marked mutable (e.g.
[]() mutable { }
) it is allowed to mutate the values that have been captured by value.
A posteriori, it makes perfect sense.
If a lambda is marked mutable (e.g.
[]() mutable { }
) it is allowed to mutate the values that have been captured by value.
A posteriori, it makes perfect sense.