testsuite_hooks.h (func_callback): Declare copy constructor and assignment operator private.
2004-05-22 Benjamin Kosnik <bkoz@redhat.com> * testsuite/testsuite_hooks.h (func_callback): Declare copy constructor and assignment operator private. * testsuite/23_containers/deque/cons/clear_allocator.cc: Match exception specifications of base class. * testsuite/23_containers/list/cons/clear_allocator.cc: Same. * testsuite/23_containers/vector/cons/clear_allocator.cc: Same. * testsuite/23_containers/vector/bool/clear_allocator.cc: New. From-SVN: r82150
This commit is contained in:
parent
0deb916ce9
commit
f4a1faa55f
5 changed files with 31 additions and 16 deletions
|
@ -1,3 +1,13 @@
|
|||
2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
* testsuite/testsuite_hooks.h (func_callback): Declare copy
|
||||
constructor and assignment operator private.
|
||||
* testsuite/23_containers/deque/cons/clear_allocator.cc: Match
|
||||
exception specifications of base class.
|
||||
* testsuite/23_containers/list/cons/clear_allocator.cc: Same.
|
||||
* testsuite/23_containers/vector/cons/clear_allocator.cc: Same.
|
||||
* testsuite/23_containers/vector/bool/clear_allocator.cc: New.
|
||||
|
||||
2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
* libsupc++/cxxabi.h: Remove duplicated and useless public and
|
||||
|
|
|
@ -31,20 +31,20 @@ template<typename T>
|
|||
struct rebind
|
||||
{ typedef clear_alloc<T1> other; };
|
||||
|
||||
virtual void clear()
|
||||
virtual void clear() throw()
|
||||
{ }
|
||||
|
||||
clear_alloc()
|
||||
clear_alloc() throw()
|
||||
{ }
|
||||
|
||||
clear_alloc(clear_alloc const& _wa)
|
||||
clear_alloc(clear_alloc const& _wa) throw()
|
||||
{ }
|
||||
|
||||
template<typename T1>
|
||||
clear_alloc(clear_alloc<T1> const& _wa)
|
||||
clear_alloc(clear_alloc<T1> const& _wa) throw()
|
||||
{ }
|
||||
|
||||
virtual ~clear_alloc()
|
||||
virtual ~clear_alloc() throw()
|
||||
{ this->clear(); }
|
||||
|
||||
T* allocate(typename new_allocator<T>::size_type n, const void *hint = 0)
|
||||
|
|
|
@ -31,20 +31,20 @@ template<typename T>
|
|||
struct rebind
|
||||
{ typedef clear_alloc<T1> other; };
|
||||
|
||||
virtual void clear()
|
||||
virtual void clear() throw()
|
||||
{ }
|
||||
|
||||
clear_alloc()
|
||||
clear_alloc() throw()
|
||||
{ }
|
||||
|
||||
clear_alloc(clear_alloc const& _wa)
|
||||
clear_alloc(clear_alloc const& _wa) throw()
|
||||
{ }
|
||||
|
||||
template<typename T1>
|
||||
clear_alloc(clear_alloc<T1> const& _wa)
|
||||
clear_alloc(clear_alloc<T1> const& _wa) throw()
|
||||
{ }
|
||||
|
||||
virtual ~clear_alloc()
|
||||
virtual ~clear_alloc() throw()
|
||||
{ this->clear(); }
|
||||
|
||||
T* allocate(typename new_allocator<T>::size_type n, const void *hint = 0)
|
||||
|
|
|
@ -31,20 +31,20 @@ template<typename T>
|
|||
struct rebind
|
||||
{ typedef clear_alloc<T1> other; };
|
||||
|
||||
virtual void clear()
|
||||
virtual void clear() throw()
|
||||
{ }
|
||||
|
||||
clear_alloc()
|
||||
clear_alloc() throw()
|
||||
{ }
|
||||
|
||||
clear_alloc(clear_alloc const& _wa)
|
||||
clear_alloc(clear_alloc const& _wa) throw()
|
||||
{ }
|
||||
|
||||
template<typename T1>
|
||||
clear_alloc(clear_alloc<T1> const& _wa)
|
||||
clear_alloc(clear_alloc<T1> const& _wa) throw()
|
||||
{ }
|
||||
|
||||
virtual ~clear_alloc()
|
||||
virtual ~clear_alloc() throw()
|
||||
{ this->clear(); }
|
||||
|
||||
T* allocate(typename new_allocator<T>::size_type n, const void *hint = 0)
|
||||
|
|
|
@ -114,7 +114,12 @@ namespace __gnu_test
|
|||
private:
|
||||
int _M_size;
|
||||
test_type _M_tests[15];
|
||||
|
||||
|
||||
func_callback&
|
||||
operator=(const func_callback&);
|
||||
|
||||
func_callback(const func_callback&);
|
||||
|
||||
public:
|
||||
func_callback(): _M_size(0) { };
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue