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

            Bug ID: 94811
           Summary: Please make make_tuple noexcept when possible
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rafael at espindo dot la
  Target Milestone: ---

The standard in res.on.exception.handling says:

An implementation may strengthen the exception specification for a non-virtual
function by adding a non-throwing exception specification.

So it should be possible to make the std::tuple constructor and std::make_tuple
noexcept when the arguments have noexcept copy or move constructors.

Reply via email to