Use global operator new in std::make_exception_ptr
authorJonathan Wakely <jwakely@redhat.com>
Fri, 21 Oct 2016 13:21:09 +0000 (14:21 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 21 Oct 2016 13:21:09 +0000 (14:21 +0100)
commit6652a944dcf82fe518090e8cb2629b473b70ac5c
tree9ff9e06648dbe30297d09417ea75f48225804408
parentde514d407ef8af0b0ba377d8934348702cf87d05
Use global operator new in std::make_exception_ptr

* libsupc++/exception_ptr.h (make_exception_ptr): Qualify new.
* testsuite/18_support/exception_ptr/make_exception_ptr_2.cc: New
test.

From-SVN: r241404
libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/exception_ptr.h
libstdc++-v3/testsuite/18_support/exception_ptr/make_exception_ptr_2.cc [new file with mode: 0644]