On Sun, 22 Mar 2009 18:43:58 -0400, Unknown W. Brackets <unkn...@simplemachines.org> wrote:

The new construct allocates memory. You can "new" anything that requires a set amount of memory.

This is equivalent to what you want:

auto s = new char[0];

Also can be:

char[] s;

Which creates a new array of 0 length also.

-Steve

Reply via email to