http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57111



--- Comment #2 from jb <jb.1234abcd at gmail dot com> 2013-04-29 14:04:38 UTC 
---

(In reply to comment #1)

> That's not how you use unique_ptr.



That's besides the point when you get a dump.

If the proper use of unique_ptr with array is:

unique_ptr<int[]> up(new int[4]); //array version of unique_ptr

then the compiler should give a warning on "improper use", do not you think ?

Reply via email to