[Bug libstdc++/77619] New: uninitialized_meow_construct and friends not exception safe

rs2740 at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Sep 16 13:09:00 GMT 2016


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

            Bug ID: 77619
           Summary: uninitialized_meow_construct and friends not exception
                    safe
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rs2740 at gmail dot com
  Target Milestone: ---

The new uninitialized_{default,value}_construct(_n)? and
uninitialized_move(_n)? implementations are not exception safe: previously
constructed objects are leaked if a subsequent construction throws.


More information about the Gcc-bugs mailing list