public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/105081] New: Make std::random_device throw std::system_error
@ 2022-03-28 11:38 redi at gcc dot gnu.org
  2022-03-28 11:38 ` [Bug libstdc++/105081] " redi at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: redi at gcc dot gnu.org @ 2022-03-28 11:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105081

            Bug ID: 105081
           Summary: Make std::random_device throw std::system_error
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

Unsupported constructor tokens could throw a std::system_error with
std::invalid_argument instead of just std::runtime_error. That would match what
libc++ does.

This shouldn't break any existing code, because a handler for
std::runtime_error will still catch a std::system_error exception.

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

end of thread, other threads:[~2023-06-30 14:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-28 11:38 [Bug libstdc++/105081] New: Make std::random_device throw std::system_error redi at gcc dot gnu.org
2022-03-28 11:38 ` [Bug libstdc++/105081] " redi at gcc dot gnu.org
2023-01-18 13:31 ` redi at gcc dot gnu.org
2023-04-26  6:55 ` rguenth at gcc dot gnu.org
2023-04-27 10:29 ` cvs-commit at gcc dot gnu.org
2023-04-27 10:36 ` redi at gcc dot gnu.org
2023-06-30 14:09 ` cvs-commit 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).