When defined auto_ptr can be used to hold pointers to memory obtained with the array form of new. The syntax looks like:
auto_ptr<string, _Array<string> > pString(new string[3]); pString.get()[0] = "pear"; pString.get()[1] = "peach"; pString.get()[2] = "apple";
Without the _Array tag, auto_ptr behaves in a standard fashion. This extension to the standard is not quite conforming, as it can be detected through the use of template arguments.
This extension can be disabled by not defining _EWL_ARRAY_AUTO_PTR.