auto_ptr with arrays
#2
yeah, my bad, auto_ptr is bad for arrays. But I don't think it's so bad for normal objects that you need to get rid of at scope end.

I'll rewrite those bad char arrays. Later. Ish.

Good catch. This might be the actual cause of some failures on some platforms (unfortunately it works in MSVC, probably even in GCC)
Reply
Thanks given by:


Messages In This Thread
auto_ptr with arrays - by FakeTruth - 05-21-2012, 05:51 AM
RE: auto_ptr with arrays - by xoft - 05-21-2012, 06:20 AM
RE: auto_ptr with arrays - by xoft - 05-23-2012, 03:57 AM



Users browsing this thread: 1 Guest(s)