[Bug c++/11228] [3.3/3.4 regression] ICE on new-expression using array operator new and default-initialization
austern at apple dot com
gcc-bugzilla@gcc.gnu.org
Thu Jun 19 04:27:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11228
------- Additional Comments From austern at apple dot com 2003-06-19 04:27 -------
The main difference is that when T is a POD type, new T[n]() default-initializes the members of the
array but new T[n] leaves them in an indeterminate value. Probably not an important difference
most of the time.
More information about the Gcc-bugs
mailing list