public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/55847] New: mistake bad_weak_ptr::what() message
@ 2013-01-02 12:21 faithandbrave at gmail dot com
  2013-01-03 18:44 ` [Bug libstdc++/55847] " redi at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: faithandbrave at gmail dot com @ 2013-01-02 12:21 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55847
           Summary: mistake bad_weak_ptr::what() message
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: faithandbrave@gmail.com


C++11 Standard says follow:

20.7.2.1 p2
bad_weak_ptr() noexcept;
Postconditions: what() returns "bad_weak_ptr"

But, libstdc++'s bad_weak_ptr::what() return "std::bad_weak_ptr".
"std::" is unnecessary.


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

end of thread, other threads:[~2013-01-07  0:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-02 12:21 [Bug libstdc++/55847] New: mistake bad_weak_ptr::what() message faithandbrave at gmail dot com
2013-01-03 18:44 ` [Bug libstdc++/55847] " redi at gcc dot gnu.org
2013-01-07  0:51 ` redi at gcc dot gnu.org
2013-01-07  0:53 ` 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).