OSDN Git Service

2010-11-08 Jonathan Wakely <jwakely.gcc@gmail.com>
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Nov 2010 23:42:09 +0000 (23:42 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Nov 2010 23:42:09 +0000 (23:42 +0000)
commit8873d8a12d48fbd8d9b7a9e053227a88a0866e4a
tree1527e4153f3d6c0d7780f1c50dd87dc871cd5ae7
parentbaea312f9cd287aa7f9e8e4c14077b8432a0fdc0
2010-11-08  Jonathan Wakely  <jwakely.gcc@gmail.com>

* include/bits/unique_ptr.h: Move misplaced static_assert and use
tuple's constexpr constructor in constexpr constructors.
* testsuite/20_util/unique_ptr/cons/ptr_deleter.cc: New.
* testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166460 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/include/bits/unique_ptr.h
libstdc++-v3/testsuite/20_util/unique_ptr/cons/ptr_deleter.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc [new file with mode: 0644]