This avoids capturing the types variable (which currently causes the compiler to complain), and follows the example in the libcxxwrap-julia repo. Alternately, we could change the lambda definition to allow implicit captures with [&] (I think?), but that doesn't seem to be necessary.
This avoids capturing the
types
variable (which currently causes the compiler to complain), and follows the example in the libcxxwrap-julia repo. Alternately, we could change the lambda definition to allow implicit captures with[&]
(I think?), but that doesn't seem to be necessary.