2009-08-27  Farid Zaripov  <faridz@apache.org>

	* etc/config/src/DOMAIN_ERROR_DTOR.cpp: Reverted changed from r777607.
	* etc/config/src/INVALID_ARGUMENT_DTOR.cpp: Same.
	* etc/config/src/LENGTH_ERROR_DTOR.cpp: Same.
	* etc/config/src/LOGIC_ERROR_DTOR.cpp: Same.
	* etc/config/src/OUT_OF_RANGE_DTOR.cpp: Same.
	* etc/config/src/OVERFLOW_ERROR_DTOR.cpp: Same.
	* etc/config/src/RANGE_ERROR_DTOR.cpp: Same.
	* etc/config/src/RUNTIME_ERROR_DTOR.cpp: Same.
	* etc/config/src/UNDERFLOW_ERROR_DTOR.cpp: Same.
	* src/domain_error.cpp: Same.
	* src/invalid_argument.cpp: Same.
	* src/length_error.cpp: Same.
	* src/logic_error.cpp: Same.
	* src/out_of_range.cpp: Same.
	* src/overflow_error.cpp: Same.
	* src/range_error.cpp: Same.
	* src/runtime_error.cpp: Same.
	* src/underflow_error.cpp: Same.


git-svn-id: https://svn.apache.org/repos/asf/stdcxx/trunk@808358 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/etc/config/src/DOMAIN_ERROR_DTOR.cpp b/etc/config/src/DOMAIN_ERROR_DTOR.cpp
deleted file mode 100644
index 9237bf8..0000000
--- a/etc/config/src/DOMAIN_ERROR_DTOR.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-// checking for domain_error dtor
-
-/***************************************************************************
- *
- * Licensed to the Apache Software  Foundation (ASF) under one or more
- * contributor  license agreements.  See  the NOTICE  file distributed
- * with  this  work  for  additional information  regarding  copyright
- * ownership.   The ASF  licenses this  file to  you under  the Apache
- * License, Version  2.0 (the  License); you may  not use  this file
- * except in  compliance with the License.   You may obtain  a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the  License is distributed on an  "AS IS" BASIS,
- * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
- * implied.   See  the License  for  the  specific language  governing
- * permissions and limitations under the License.
- *
- * Copyright 1999-2007 Rogue Wave Software, Inc.
- * 
- **************************************************************************/
-
-#if 0   // guard invalid preprocessor symbol below
-   // establish a dependency on RUNTIME_IN_STD.cpp
-#  ifndef _RWSTD_NO_RUNTIME_IN_STD
-#  endif   // _RWSTD_NO_RUNTIME_IN_STD
-#endif   // 0
-
-#define TEST_DTOR
-#define bad_alloc domain_error
-#define main      test_domain_error_dtor
-#include "BAD_ALLOC_ASSIGNMENT.cpp"
-#undef main
-
-int main (int argc, char *argv[])
-{
-    return test_domain_error_dtor (argc, argv);
-}
diff --git a/etc/config/src/INVALID_ARGUMENT_DTOR.cpp b/etc/config/src/INVALID_ARGUMENT_DTOR.cpp
deleted file mode 100644
index c475a2d..0000000
--- a/etc/config/src/INVALID_ARGUMENT_DTOR.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-// checking for invalid_argument dtor
-
-/***************************************************************************
- *
- * Licensed to the Apache Software  Foundation (ASF) under one or more
- * contributor  license agreements.  See  the NOTICE  file distributed
- * with  this  work  for  additional information  regarding  copyright
- * ownership.   The ASF  licenses this  file to  you under  the Apache
- * License, Version  2.0 (the  License); you may  not use  this file
- * except in  compliance with the License.   You may obtain  a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the  License is distributed on an  "AS IS" BASIS,
- * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
- * implied.   See  the License  for  the  specific language  governing
- * permissions and limitations under the License.
- *
- * Copyright 1999-2007 Rogue Wave Software, Inc.
- * 
- **************************************************************************/
-
-#if 0   // guard invalid preprocessor symbol below
-   // establish a dependency on RUNTIME_IN_STD.cpp
-#  ifndef _RWSTD_NO_RUNTIME_IN_STD
-#  endif   // _RWSTD_NO_RUNTIME_IN_STD
-#endif   // 0
-
-#define TEST_DTOR
-#define bad_alloc invalid_argument
-#define main      test_invalid_argument_dtor
-#include "BAD_ALLOC_ASSIGNMENT.cpp"
-#undef main
-
-int main (int argc, char *argv[])
-{
-    return test_invalid_argument_dtor (argc, argv);
-}
diff --git a/etc/config/src/LENGTH_ERROR_DTOR.cpp b/etc/config/src/LENGTH_ERROR_DTOR.cpp
deleted file mode 100644
index 72c23c8..0000000
--- a/etc/config/src/LENGTH_ERROR_DTOR.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-// checking for length_error dtor
-
-/***************************************************************************
- *
- * Licensed to the Apache Software  Foundation (ASF) under one or more
- * contributor  license agreements.  See  the NOTICE  file distributed
- * with  this  work  for  additional information  regarding  copyright
- * ownership.   The ASF  licenses this  file to  you under  the Apache
- * License, Version  2.0 (the  License); you may  not use  this file
- * except in  compliance with the License.   You may obtain  a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the  License is distributed on an  "AS IS" BASIS,
- * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
- * implied.   See  the License  for  the  specific language  governing
- * permissions and limitations under the License.
- *
- * Copyright 1999-2007 Rogue Wave Software, Inc.
- * 
- **************************************************************************/
-
-#if 0   // guard invalid preprocessor symbol below
-   // establish a dependency on RUNTIME_IN_STD.cpp
-#  ifndef _RWSTD_NO_RUNTIME_IN_STD
-#  endif   // _RWSTD_NO_RUNTIME_IN_STD
-#endif   // 0
-
-#define TEST_DTOR
-#define bad_alloc length_error
-#define main      test_length_error_dtor
-#include "BAD_ALLOC_ASSIGNMENT.cpp"
-#undef main
-
-int main (int argc, char *argv[])
-{
-    return test_length_error_dtor (argc, argv);
-}
diff --git a/etc/config/src/LOGIC_ERROR_DTOR.cpp b/etc/config/src/LOGIC_ERROR_DTOR.cpp
deleted file mode 100644
index 84de850..0000000
--- a/etc/config/src/LOGIC_ERROR_DTOR.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-// checking for logic_error dtor
-
-/***************************************************************************
- *
- * Licensed to the Apache Software  Foundation (ASF) under one or more
- * contributor  license agreements.  See  the NOTICE  file distributed
- * with  this  work  for  additional information  regarding  copyright
- * ownership.   The ASF  licenses this  file to  you under  the Apache
- * License, Version  2.0 (the  License); you may  not use  this file
- * except in  compliance with the License.   You may obtain  a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the  License is distributed on an  "AS IS" BASIS,
- * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
- * implied.   See  the License  for  the  specific language  governing
- * permissions and limitations under the License.
- *
- * Copyright 1999-2007 Rogue Wave Software, Inc.
- * 
- **************************************************************************/
-
-#if 0   // guard invalid preprocessor symbol below
-   // establish a dependency on RUNTIME_IN_STD.cpp
-#  ifndef _RWSTD_NO_RUNTIME_IN_STD
-#  endif   // _RWSTD_NO_RUNTIME_IN_STD
-#endif   // 0
-
-#define TEST_DTOR
-#define bad_alloc logic_error
-#define main      test_logic_error_dtor
-#include "BAD_ALLOC_ASSIGNMENT.cpp"
-#undef main
-
-int main (int argc, char *argv[])
-{
-    return test_logic_error_dtor (argc, argv);
-}
diff --git a/etc/config/src/OUT_OF_RANGE_DTOR.cpp b/etc/config/src/OUT_OF_RANGE_DTOR.cpp
deleted file mode 100644
index 87edc6a..0000000
--- a/etc/config/src/OUT_OF_RANGE_DTOR.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-// checking for out_of_range dtor
-
-/***************************************************************************
- *
- * Licensed to the Apache Software  Foundation (ASF) under one or more
- * contributor  license agreements.  See  the NOTICE  file distributed
- * with  this  work  for  additional information  regarding  copyright
- * ownership.   The ASF  licenses this  file to  you under  the Apache
- * License, Version  2.0 (the  License); you may  not use  this file
- * except in  compliance with the License.   You may obtain  a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the  License is distributed on an  "AS IS" BASIS,
- * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
- * implied.   See  the License  for  the  specific language  governing
- * permissions and limitations under the License.
- *
- * Copyright 1999-2007 Rogue Wave Software, Inc.
- * 
- **************************************************************************/
-
-#if 0   // guard invalid preprocessor symbol below
-   // establish a dependency on RUNTIME_IN_STD.cpp
-#  ifndef _RWSTD_NO_RUNTIME_IN_STD
-#  endif   // _RWSTD_NO_RUNTIME_IN_STD
-#endif   // 0
-
-#define TEST_DTOR
-#define bad_alloc out_of_range
-#define main      test_out_of_range_dtor
-#include "BAD_ALLOC_ASSIGNMENT.cpp"
-#undef main
-
-int main (int argc, char *argv[])
-{
-    return test_out_of_range_dtor (argc, argv);
-}
diff --git a/etc/config/src/OVERFLOW_ERROR_DTOR.cpp b/etc/config/src/OVERFLOW_ERROR_DTOR.cpp
deleted file mode 100644
index 162d47b..0000000
--- a/etc/config/src/OVERFLOW_ERROR_DTOR.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-// checking for overflow_error dtor
-
-/***************************************************************************
- *
- * Licensed to the Apache Software  Foundation (ASF) under one or more
- * contributor  license agreements.  See  the NOTICE  file distributed
- * with  this  work  for  additional information  regarding  copyright
- * ownership.   The ASF  licenses this  file to  you under  the Apache
- * License, Version  2.0 (the  License); you may  not use  this file
- * except in  compliance with the License.   You may obtain  a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the  License is distributed on an  "AS IS" BASIS,
- * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
- * implied.   See  the License  for  the  specific language  governing
- * permissions and limitations under the License.
- *
- * Copyright 1999-2007 Rogue Wave Software, Inc.
- * 
- **************************************************************************/
-
-#if 0   // guard invalid preprocessor symbol below
-   // establish a dependency on RUNTIME_IN_STD.cpp
-#  ifndef _RWSTD_NO_RUNTIME_IN_STD
-#  endif   // _RWSTD_NO_RUNTIME_IN_STD
-#endif   // 0
-
-#define TEST_DTOR
-#define bad_alloc overflow_error
-#define main      test_overflow_error_dtor
-#include "BAD_ALLOC_ASSIGNMENT.cpp"
-#undef main
-
-int main (int argc, char *argv[])
-{
-    return test_overflow_error_dtor (argc, argv);
-}
diff --git a/etc/config/src/RANGE_ERROR_DTOR.cpp b/etc/config/src/RANGE_ERROR_DTOR.cpp
deleted file mode 100644
index fc37d11..0000000
--- a/etc/config/src/RANGE_ERROR_DTOR.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-// checking for range_error dtor
-
-/***************************************************************************
- *
- * Licensed to the Apache Software  Foundation (ASF) under one or more
- * contributor  license agreements.  See  the NOTICE  file distributed
- * with  this  work  for  additional information  regarding  copyright
- * ownership.   The ASF  licenses this  file to  you under  the Apache
- * License, Version  2.0 (the  License); you may  not use  this file
- * except in  compliance with the License.   You may obtain  a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the  License is distributed on an  "AS IS" BASIS,
- * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
- * implied.   See  the License  for  the  specific language  governing
- * permissions and limitations under the License.
- *
- * Copyright 1999-2007 Rogue Wave Software, Inc.
- * 
- **************************************************************************/
-
-#if 0   // guard invalid preprocessor symbol below
-   // establish a dependency on RUNTIME_IN_STD.cpp
-#  ifndef _RWSTD_NO_RUNTIME_IN_STD
-#  endif   // _RWSTD_NO_RUNTIME_IN_STD
-#endif   // 0
-
-#define TEST_DTOR
-#define bad_alloc range_error
-#define main      test_range_error_dtor
-#include "BAD_ALLOC_ASSIGNMENT.cpp"
-#undef main
-
-int main (int argc, char *argv[])
-{
-    return test_range_error_dtor (argc, argv);
-}
diff --git a/etc/config/src/RUNTIME_ERROR_DTOR.cpp b/etc/config/src/RUNTIME_ERROR_DTOR.cpp
deleted file mode 100644
index d172018..0000000
--- a/etc/config/src/RUNTIME_ERROR_DTOR.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-// checking for runtime_error dtor
-
-/***************************************************************************
- *
- * Licensed to the Apache Software  Foundation (ASF) under one or more
- * contributor  license agreements.  See  the NOTICE  file distributed
- * with  this  work  for  additional information  regarding  copyright
- * ownership.   The ASF  licenses this  file to  you under  the Apache
- * License, Version  2.0 (the  License); you may  not use  this file
- * except in  compliance with the License.   You may obtain  a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the  License is distributed on an  "AS IS" BASIS,
- * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
- * implied.   See  the License  for  the  specific language  governing
- * permissions and limitations under the License.
- *
- * Copyright 1999-2007 Rogue Wave Software, Inc.
- * 
- **************************************************************************/
-
-#if 0   // guard invalid preprocessor symbol below
-   // establish a dependency on RUNTIME_IN_STD.cpp
-#  ifndef _RWSTD_NO_RUNTIME_IN_STD
-#  endif   // _RWSTD_NO_RUNTIME_IN_STD
-#endif   // 0
-
-#define TEST_DTOR
-#define bad_alloc runtime_error
-#define main      test_runtime_error_dtor
-#include "BAD_ALLOC_ASSIGNMENT.cpp"
-#undef main
-
-int main (int argc, char *argv[])
-{
-    return test_runtime_error_dtor (argc, argv);
-}
diff --git a/etc/config/src/UNDERFLOW_ERROR_DTOR.cpp b/etc/config/src/UNDERFLOW_ERROR_DTOR.cpp
deleted file mode 100644
index 31a237c..0000000
--- a/etc/config/src/UNDERFLOW_ERROR_DTOR.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-// checking for underflow_error dtor
-
-/***************************************************************************
- *
- * Licensed to the Apache Software  Foundation (ASF) under one or more
- * contributor  license agreements.  See  the NOTICE  file distributed
- * with  this  work  for  additional information  regarding  copyright
- * ownership.   The ASF  licenses this  file to  you under  the Apache
- * License, Version  2.0 (the  License); you may  not use  this file
- * except in  compliance with the License.   You may obtain  a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the  License is distributed on an  "AS IS" BASIS,
- * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
- * implied.   See  the License  for  the  specific language  governing
- * permissions and limitations under the License.
- *
- * Copyright 1999-2007 Rogue Wave Software, Inc.
- * 
- **************************************************************************/
-
-#if 0   // guard invalid preprocessor symbol below
-   // establish a dependency on RUNTIME_IN_STD.cpp
-#  ifndef _RWSTD_NO_RUNTIME_IN_STD
-#  endif   // _RWSTD_NO_RUNTIME_IN_STD
-#endif   // 0
-
-#define TEST_DTOR
-#define bad_alloc underflow_error
-#define main      test_underflow_error_dtor
-#include "BAD_ALLOC_ASSIGNMENT.cpp"
-#undef main
-
-int main (int argc, char *argv[])
-{
-    return test_underflow_error_dtor (argc, argv);
-}
diff --git a/src/domain_error.cpp b/src/domain_error.cpp
index 3f0c191..3c90904 100644
--- a/src/domain_error.cpp
+++ b/src/domain_error.cpp
@@ -32,8 +32,6 @@
 
 _RWSTD_NAMESPACE (std) {
 
-#ifdef _RWSTD_NO_DOMAIN_ERROR_DTOR
-
 // outlined to avoid generating a vtable in each translation unit
 // that uses the class
 /* virtual */ domain_error::
@@ -42,6 +40,4 @@
     // no-op
 }
 
-#endif   // _RWSTD_NO_DOMAIN_ERROR_DTOR
-
 }   // namespace std
diff --git a/src/invalid_argument.cpp b/src/invalid_argument.cpp
index 0f8f0d2..427f9b5 100644
--- a/src/invalid_argument.cpp
+++ b/src/invalid_argument.cpp
@@ -32,8 +32,6 @@
 
 _RWSTD_NAMESPACE (std) {
 
-#ifdef _RWSTD_NO_INVALID_ARGUMENT_DTOR
-
 // outlined to avoid generating a vtable in each translation unit
 // that uses the class
 /* virtual */ invalid_argument::
@@ -42,6 +40,4 @@
     // no-op
 }
 
-#endif   // _RWSTD_NO_INVALID_ARGUMENT_DTOR
-
 }   // namespace std
diff --git a/src/length_error.cpp b/src/length_error.cpp
index 8c01e8b..85a1b5e 100644
--- a/src/length_error.cpp
+++ b/src/length_error.cpp
@@ -32,8 +32,6 @@
 
 _RWSTD_NAMESPACE (std) {
 
-#ifdef _RWSTD_NO_LENGTH_ERROR_DTOR
-
 // outlined to avoid generating a vtable in each translation unit
 // that uses the class
 /* virtual */ length_error::
@@ -42,6 +40,4 @@
     // no-op
 }
 
-#endif   // _RWSTD_NO_LENGTH_ERROR_DTOR
-
 }   // namespace std
diff --git a/src/logic_error.cpp b/src/logic_error.cpp
index 683a0b6..3b2a93b 100644
--- a/src/logic_error.cpp
+++ b/src/logic_error.cpp
@@ -32,8 +32,6 @@
 
 _RWSTD_NAMESPACE (std) {
 
-#ifdef _RWSTD_NO_LOGIC_ERROR_DTOR
-
 // outlined to avoid generating a vtable in each translation unit
 // that uses the class
 /* virtual */ logic_error::
@@ -42,6 +40,4 @@
     // no-op
 }
 
-#endif   // _RWSTD_NO_LOGIC_ERROR_DTOR
-
 }   // namespace std
diff --git a/src/out_of_range.cpp b/src/out_of_range.cpp
index a79898d..c955d16 100644
--- a/src/out_of_range.cpp
+++ b/src/out_of_range.cpp
@@ -32,8 +32,6 @@
 
 _RWSTD_NAMESPACE (std) {
 
-#ifdef _RWSTD_NO_OUT_OF_RANGE_DTOR
-
 // outlined to avoid generating a vtable in each translation unit
 // that uses the class
 /* virtual */ out_of_range::
@@ -42,6 +40,4 @@
     // no-op
 }
 
-#endif   // _RWSTD_NO_OUT_OF_RANGE_DTOR
-
 }   // namespace std
diff --git a/src/overflow_error.cpp b/src/overflow_error.cpp
index e327d89..1a7f68e 100644
--- a/src/overflow_error.cpp
+++ b/src/overflow_error.cpp
@@ -32,8 +32,6 @@
 
 _RWSTD_NAMESPACE (std) {
 
-#ifdef _RWSTD_NO_OVERFLOW_ERROR_DTOR
-
 // outlined to avoid generating a vtable in each translation unit
 // that uses the class
 /* virtual */ overflow_error::
@@ -42,6 +40,4 @@
     // no-op
 }
 
-#endif   // _RWSTD_NO_OVERFLOW_ERROR_DTOR
-
 }   // namespace std
diff --git a/src/range_error.cpp b/src/range_error.cpp
index cacff38..c928138 100644
--- a/src/range_error.cpp
+++ b/src/range_error.cpp
@@ -32,8 +32,6 @@
 
 _RWSTD_NAMESPACE (std) {
 
-#ifdef _RWSTD_NO_RANGE_ERROR_DTOR
-
 // outlined to avoid generating a vtable in each translation unit
 // that uses the class
 /* virtual */ range_error::
@@ -42,6 +40,4 @@
     // no-op
 }
 
-#endif   // _RWSTD_NO_RANGE_ERROR_DTOR
-
 }   // namespace std
diff --git a/src/runtime_error.cpp b/src/runtime_error.cpp
index 164b69d..6105a4e 100644
--- a/src/runtime_error.cpp
+++ b/src/runtime_error.cpp
@@ -32,8 +32,6 @@
 
 _RWSTD_NAMESPACE (std) {
 
-#ifdef _RWSTD_NO_RUNTIME_ERROR_DTOR
-
 // outlined to avoid generating a vtable in each translation unit
 // that uses the class
 /* virtual */ runtime_error::
@@ -42,6 +40,4 @@
     // no-op
 }
 
-#endif   // _RWSTD_NO_RUNTIME_ERROR_DTOR
-
 }   // namespace std
diff --git a/src/underflow_error.cpp b/src/underflow_error.cpp
index 24ff1f1..0f5bb26 100644
--- a/src/underflow_error.cpp
+++ b/src/underflow_error.cpp
@@ -32,8 +32,6 @@
 
 _RWSTD_NAMESPACE (std) {
 
-#ifdef _RWSTD_NO_UNDERFLOW_ERROR_DTOR
-
 // outlined to avoid generating a vtable in each translation unit
 // that uses the class
 /* virtual */ underflow_error::
@@ -42,6 +40,4 @@
     // no-op
 }
 
-#endif   // _RWSTD_NO_UNDERFLOW_ERROR_DTOR
-
 }   // namespace std