In case I want to create a new array with size I know, it's very convenient to use auto:
auto a = new int[](13);
But if I want to create a new, empty array? Then using auto is not convenient and I have:
auto a = new int[](0);
It seems a bit bloated, compared to int[] a = []. I like using auto because of uniform syntax and other reasons. Is there any concise way to create a new empty array with auto?

Reply via email to