Daníel Grétarsson

Results 9 comments of Daníel Grétarsson

Yes, seems to be MSVC specific. Do you think it's a compiler bug? It's strange that it does not happen with Clang/GCC, since they clearly don't allow you to inherit...

Would be very interested in getting some insight from the library maintainers as well. In our project we have a rather large/complex FSM with a lot of lambdas using auto-capture....

Hi, I'm working with @multivac61 on this project. Our state machine is quite complex, utilizing nested state machines quite heavily (at least three levels atm). We've noticed during the development...

Thank you for the idea @erikzenker! I wonder if you could use the pimpl pattern in an embedded context with no dynamic memory? Could you provide an example off the...

I guess I should have investigated a bit before spending my morning setting up arm64 Ubuntu in a VM on my Apple Silicon machine... However, this is a very interesting...

I'm having this same issue. Did you ever figure it out, or did you do the ffi directly without cxx? Edit: Nevermind, [this](https://github.com/dtolnay/cxx/issues/895#issuecomment-913095541) works fine, a bit cumbersome, but works...

Ah, I see. I think I'm using the most recent Clang version on macOS ``` Apple clang version 15.0.0 (clang-1500.0.40.1) Target: arm64-apple-darwin23.0.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin ```

Hmmm wow, this is strange! I'm using `libc++`, but I guess Apple's Clang distribution is broken, at least in this version then.

Okay, I just tested with Clang 16 from brew and can confirm that works fine with `std::source_location`, so I guess Apple will just have to sort it out in their...