mosaic: updated rs(t)full to match
cpp: insert 'mutable' keyword for lambdas that mutate