See https://godbolt.org/z/Wh5KcTaGY for what I'm talking about, the local allocation is easily eliminated by the compiler.
The equivalent in C is to create a temporary local variable with an initializer list then write that variable to the pointer.
See https://godbolt.org/z/Wh5KcTaGY for what I'm talking about, the local allocation is easily eliminated by the compiler.
The equivalent in C is to create a temporary local variable with an initializer list then write that variable to the pointer.