Why in Unreal Engine we never see declared variable with curly braces like in standard cpp. Is it just for convention purpose?
3 Likes
You can use them in Unreal Engine!
Initializing with the curly braces is a more relatively modern method as it has some advantages, such as detecting a narrowing conversion (initializing an int with a double, for instanceā¦ doing so drops the digits after the decimal) as one example.
2 Likes
Thank you very much for your answer!
1 Like
Absolutely!
1 Like
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.