This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
* include/bits/unique_ptr.h (make_unique): Define. * testsuite/20_util/unique_ptr/creation/single.cc: New. * testsuite/20_util/unique_ptr/creation/array.cc: New. * testsuite/20_util/unique_ptr/creation/array_neg.cc: New. Tested x86_64-linux, committed to trunk. This is safe for 4.8.2 so I'll commit it there once the branch reopens. It might even be nice to provide this for C++11, maybe when using -std=gnu++11 not -std=c++11, or by putting the declarations in namespace std::__cxx14, which is inline in C++14 but not in C++11 mode.
Attachment:
patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |