public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/56905] New: [C++11][DR 1130] std::copy_exception should be removed or no longer be used
@ 2013-04-10 13:55 daniel.kruegler at googlemail dot com
  2013-04-11 12:44 ` [Bug libstdc++/56905] " redi at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: daniel.kruegler at googlemail dot com @ 2013-04-10 13:55 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56905
           Summary: [C++11][DR 1130] std::copy_exception should be removed
                    or no longer be used
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: daniel.kruegler@googlemail.com


According to 

http://cplusplus.github.io/LWG/lwg-defects.html#1130

std::copy_exception has been replaced by std::make_exception_ptr. While I
understand that this function still exists for backward compatibility reasons
in libstdc++, I noticed that other places of the library (such as <future>)
still refer to std::copy_exception, which complicates a possible transition in
the future. I would recommend to replace all usages of std::copy_exception by
the library by std::make_exception_ptr. std::make_exception_ptr should be
defined independent of std::copy_exception. Personally I would recommend to
remove std::copy_exception, alternatively to define it in terms of
std::make_exception_ptr.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-04-24 22:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-10 13:55 [Bug libstdc++/56905] New: [C++11][DR 1130] std::copy_exception should be removed or no longer be used daniel.kruegler at googlemail dot com
2013-04-11 12:44 ` [Bug libstdc++/56905] " redi at gcc dot gnu.org
2013-04-11 13:20 ` redi at gcc dot gnu.org
2013-04-11 18:05 ` daniel.kruegler at googlemail dot com
2013-04-24 22:05 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).