Skip to content

Conversation

@willvale
Copy link
Contributor

@willvale willvale commented Nov 8, 2025

This wasn't marking the newly-constructed value present.
Also replace unchecked access to _value with checked access for the various operators.

This manifested as an exception when running into fallback choices, as the newly-emplaced() choice container wasn't valid at runner_impl.cpp(1379).

NB: For context, I'm doing an experimental integration into a non-Unreal, non-STL, non-EH C++ game engine, so probably using some things in ways they aren't normally used. I had to do some config fiddling to get things working but with this fix it's running nicely with not too much code on my side :)

If you're interested I can turn the config changes into a PR as well, but that probably needs some discussion about the best way to make them.

value as present.
Replace unchecked access to _value with checked access for the various
operators.
@JBenda
Copy link
Owner

JBenda commented Nov 9, 2025

Thanks for the PR.
Yeah, like you guessed, the non-STL part is not well tested.
If you find more, please share.

Would you mind sharing the config changes? (Maybe put a link to the file in your project?)
I'm interested in what changes were needed. ^^

@JBenda JBenda merged commit 430c0c9 into JBenda:master Nov 9, 2025
8 of 9 checks passed
@willvale
Copy link
Contributor Author

willvale commented Nov 10, 2025

I ended up create a PR as there were a few files touched - mostly changing defines around plus some missing bits. But it's more to show rather than as something to merge as-is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants