mirror of git://gcc.gnu.org/git/gcc.git
2.cc: Hide explicit instantiation with non default constructible type ...
2010-12-02 François Dumont <francois.cppdevs@free.fr>
* testsuite/23_containers/vector/requirements/explicit_instantiation/
2.cc: Hide explicit instantiation with non default constructible type
in C++0x mode.
* testsuite/23_containers/deque/requirements/explicit_instantiation/
2.cc: Likewise
* testsuite/23_containers/list/requirements/explicit_instantiation/
2.cc: Likewise.
From-SVN: r167391
This commit is contained in:
parent
6a02a719ac
commit
4aa9afb41f
|
|
@ -1,3 +1,13 @@
|
|||
2010-12-02 François Dumont <francois.cppdevs@free.fr>
|
||||
|
||||
* testsuite/23_containers/vector/requirements/explicit_instantiation/
|
||||
2.cc: Hide explicit instantiation with non default constructible type
|
||||
in C++0x mode.
|
||||
* testsuite/23_containers/deque/requirements/explicit_instantiation/
|
||||
2.cc: Likewise.
|
||||
* testsuite/23_containers/list/requirements/explicit_instantiation/
|
||||
2.cc: Likewise.
|
||||
|
||||
2010-12-02 Kai Tietz <kai.tietz@onevision.com>
|
||||
|
||||
PR libstdc++/43738
|
||||
|
|
@ -7,8 +17,8 @@
|
|||
|
||||
2010-12-01 François Dumont <francois.cppdevs@free.fr>
|
||||
|
||||
* testsuite/23_containers/deque/cons/2.cc: Fix to explicitely invoke
|
||||
the copy construtor with or without C++0x mode.
|
||||
* testsuite/23_containers/deque/cons/2.cc: Fix to explicitly invoke
|
||||
the copy constructor with or without C++0x mode.
|
||||
* testsuite/23_containers/vector/cons/4.cc: Likewise.
|
||||
|
||||
2010-12-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
|
|
|||
|
|
@ -19,9 +19,12 @@
|
|||
// This file tests explicit instantiation of library containers
|
||||
|
||||
#include <deque>
|
||||
#include <testsuite_hooks.h>
|
||||
#include <testsuite_api.h>
|
||||
|
||||
// { dg-do compile }
|
||||
|
||||
// N.B. In C++0x mode we cannot instantiate with T == NonDefaultConstructible
|
||||
// because of 23.3.2.1.4
|
||||
#ifndef __GXX_EXPERIMENTAL_CXX0X__
|
||||
template class std::deque<__gnu_test::NonDefaultConstructible>;
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -19,9 +19,12 @@
|
|||
// This file tests explicit instantiation of library containers
|
||||
|
||||
#include <list>
|
||||
#include <testsuite_hooks.h>
|
||||
#include <testsuite_api.h>
|
||||
|
||||
// { dg-do compile }
|
||||
|
||||
// N.B. In C++0x mode we cannot instantiate with T == NonDefaultConstructible
|
||||
// because of 23.3.4.1.4
|
||||
#ifndef __GXX_EXPERIMENTAL_CXX0X__
|
||||
template class std::list<__gnu_test::NonDefaultConstructible>;
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -19,9 +19,12 @@
|
|||
// This file tests explicit instantiation of library containers
|
||||
|
||||
#include <vector>
|
||||
#include <testsuite_hooks.h>
|
||||
#include <testsuite_api.h>
|
||||
|
||||
// { dg-do compile }
|
||||
|
||||
// N.B. In C++0x mode we cannot instantiate with T == NonDefaultConstructible
|
||||
// because of 23.4.1.1.4
|
||||
#ifndef __GXX_EXPERIMENTAL_CXX0X__
|
||||
template class std::vector<__gnu_test::NonDefaultConstructible>;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue