[Bug c++/54849] New: Override specifier with trailing return type

2012-10-07 Thread ashish.sadanandan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54849 Bug #: 54849 Summary: Override specifier with trailing return type Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal

[Bug c++/60168] New: Incorrect check in ~unique_ptr() when Deleter::pointer type is not a pointer type

2014-02-12 Thread ashish.sadanandan at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ashish.sadanandan at gmail dot com The following compiles on both VS2013 and ICC 13.0.1 #include struct del { using pointer = int; void operator()(int

[Bug c++/60168] Incorrect check in ~unique_ptr() when Deleter::pointer type is not a pointer type

2014-02-12 Thread ashish.sadanandan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60168 --- Comment #3 from Ashish Sadanandan --- You are right, of course. Not a bug, but it's disappointing that it isn't. If that comparison were against a value initialized unique_ptr::pointer, instead of nullptr, it'd allow unique_ptr to be used to m