Today I found out that you can write such code in C ++ and compile it:
int* ptr = new int(5, 6);
What is the purpose of this? I know, of course, a dynamic thing, but here I am lost. Any clues?
c ++ new-operator comma-operator dynamic-memory-allocation
Stringer
source share