]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/include/tr1/shared_ptr.h
re PR libstdc++/43820 (auto_ptr used with incomplete type no longer triggers warning)
authorJonathan Wakely <jwakely.gcc@gmail.com>
Mon, 31 May 2010 18:41:33 +0000 (18:41 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 31 May 2010 18:41:33 +0000 (18:41 +0000)
commit4585cf723650a3e5632649a52b354041c57e860d
tree85b85c938bcd3f83352e3681784ccac3c8ebf7e8
parent63f1c6992dd11f754e975580374b557db4c496b8
re PR libstdc++/43820 (auto_ptr used with incomplete type no longer triggers warning)

2010-05-31  Jonathan Wakely  <jwakely.gcc@gmail.com>

PR libstdc++/43820
* include/bits/shared_ptr_base.h: Require complete type.
* include/tr1/shared_ptr.h: Likewise.
* testsuite/20_util/shared_ptr/cons/43820.cc: New.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc: New.

From-SVN: r160082
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/shared_ptr_base.h
libstdc++-v3/include/tr1/shared_ptr.h
libstdc++-v3/testsuite/20_util/shared_ptr/cons/43820.cc [new file with mode: 0644]
libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc [new file with mode: 0644]