Adrian Taylor

Results 215 comments of Adrian Taylor

I was a bit overambitious even trying to achieve point 1 of the design. `macro_rules!` don't implement lookahead, so Rust can't work out whether `unsafe` is a keyword or the...

#967 shows how cxx supports arrays.

Thanks. Yep, a pull request with a test case would be greatly appreciated and will likely yield a quicker fix. Nevertheless thanks for the minimal test case.

Thanks for the test! OK, an initial diagnosis by running your test and looking at the diagnostics. I'd argue that we have three separate bugs here. * `autocxx` currently requires...

No problem at all, sorry for the inconvenience of the CLA. I have fixed "Bug 2" (which renders "Bug 1" irrelevant). This is already a usability improvement for autocxx users,...

#663 does this for const references, but mutable references continue to be problemmy.

I can't remember for sure; the only comment I can find is [here](https://github.com/google/autocxx/pull/663/files#diff-75486f7674ea6483287c345b4646408440c5b709eb018a0e13f15f700a138982R24) which says it's due to the `Pin`ning. It might be relatively easy to flip that boolean and...

I did a bit more investigation into what it would take to add mutable casts using `autocxx::PinMut`. This is largely a note to my future self. The first obstacle is...

It's possible that #470 is the only problem here, but I'll keep this open until I know more.