Finally relented and allowed rider to reformat an expression into a "Structured binding". Huh... they're actually kind of cool.
It's a C++17 feature which is similar to tuple unpacking or structure matching in other languages.
I think my main fear is that it might perform weakly when reordering struct elements? E.g., a struct of two floats.
[#]programming #cpp #unrealengine #gamedev
=> More informations about this toot | View the thread | More toots from SirLich@mastodon.gamedev.place
=> View programming tag | View cpp tag | View unrealengine tag | View gamedev tag This content has been proxied by September (3851b).Proxy Information
text/gemini