testsuite_hooks.h (func_callback): Declare copy constructor and assignment operator...
[gcc.git] / libstdc++-v3 / testsuite / 23_containers / deque / cons / clear_allocator.cc
index 8103928a1e3e4441bbff39b283475f433e6fbcfc..f40b2053bce682e88dcb65ec6c1e404e3371ef01 100644 (file)
@@ -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)