[Bug c++/52924] [4.7/4.8 Regression] Using an std::function object as deleter of shared_ptr in C++0x mode does not compile
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 11 09:31:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52924
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.6.3
Summary|[4.7 Regression] Using an |[4.7/4.8 Regression] Using
|std::function object as |an std::function object as
|deleter of shared_ptr in |deleter of shared_ptr in
|C++0x mode does not compile |C++0x mode does not compile
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-11 09:30:37 UTC ---
In fact even if ~function is noexcept the bug is still present for other
deleters and allocators with potentially-throwing destructors, so the bug's
present on trunk too.
More information about the Gcc-bugs
mailing list