stl_function.h: Generic associative lookup feature is not supported.
authorEdward Smith-Rowland <3dw4rd@verizon.net>
Thu, 2 Oct 2014 12:38:41 +0000 (12:38 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 2 Oct 2014 12:38:41 +0000 (12:38 +0000)
2014-10-02  Edward Smith-Rowland  <3dw4rd@verizon.net>

* include/bits/stl_function.h: Generic associative lookup feature
is not supported.
* testsuite/experimental/feat-lib-fund.cc: <experimental/any> is
actually available.
* testsuite/experimental/feat-cxx14.cc: Add test for __cpp_lib_is_final.
* testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
* testsuite/20_util/duration/literals/range.cc: Adjust.
* testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust.
* testsuite/20_util/duration/requirements/typedefs_neg2.cc: Adjust.
* testsuite/20_util/duration/requirements/typedefs_neg3.cc: Adjust.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust.
* testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust.
* testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
Adjust.

From-SVN: r215801

13 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_function.h
libstdc++-v3/testsuite/20_util/declval/requirements/1_neg.cc
libstdc++-v3/testsuite/20_util/duration/literals/range.cc
libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg1.cc
libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg2.cc
libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg3.cc
libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc
libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc
libstdc++-v3/testsuite/23_containers/array/tuple_interface/get_neg.cc
libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc
libstdc++-v3/testsuite/experimental/feat-cxx14.cc
libstdc++-v3/testsuite/experimental/feat-lib-fund.cc

index 54f00ac343f7d7bfb9da2112a1ca494573b5ed36..fe2c2e5e4442470048a8dfed8cb537e117c2739e 100644 (file)
@@ -1,3 +1,21 @@
+2014-10-02  Edward Smith-Rowland  <3dw4rd@verizon.net>
+
+       * include/bits/stl_function.h: Generic associative lookup feature
+       is not supported.
+       * testsuite/experimental/feat-lib-fund.cc: <experimental/any> is
+       actually available.
+       * testsuite/experimental/feat-cxx14.cc: Add test for __cpp_lib_is_final.
+       * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
+       * testsuite/20_util/duration/literals/range.cc: Adjust.
+       * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust.
+       * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Adjust.
+       * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Adjust.
+       * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust.
+       * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust.
+       * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust.
+       * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
+       Adjust.
+
 2014-10-01  François Dumont  <fdumont@gcc.gnu.org>
 
        * python/libstdcxx/v6/printers.py (StdDebugIteratorPrinter.to_string):
index 48f9bde78c5f1dee71a6fa98904ae484efbb42d9..71215b879e504358b911c5f3680ba44270fc8f21 100644 (file)
@@ -219,7 +219,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 #if __cplusplus > 201103L
 
 #define __cpp_lib_transparent_operators 201210
-#define __cpp_lib_generic_associative_lookup 201304
+//#define __cpp_lib_generic_associative_lookup 201304
 
   template<>
     struct plus<void>
index 3710020614de7fb59faca0417410d6e568e25057..2d03f4f68db592c3be35eb76678a994d4e1e1719 100644 (file)
@@ -19,7 +19,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-error "static assertion failed" "" { target *-*-* } 2088 }
+// { dg-error "static assertion failed" "" { target *-*-* } 2099 }
 
 #include <utility>
 
index 9a897bc4ebeca9ad80f492d809cdfb83ba499790..556781523a63976bce86d3e1c478fe276a1306e9 100644 (file)
@@ -27,5 +27,5 @@ test01()
 
   // std::numeric_limits<int64_t>::max() == 9223372036854775807;
   auto h = 9223372036854775808h;
-  // { dg-error "cannot be represented" "" { target *-*-* } 799 }
+  // { dg-error "cannot be represented" "" { target *-*-* } 796 }
 }
index a91eca47c7d9dcd60c02808aa8668a336cc1c3af..774885a2da608542c02f4792a92d301b9dd4fca9 100644 (file)
@@ -31,5 +31,5 @@ void test01()
   test_type d;
 }
 
-// { dg-error "rep cannot be a duration" "" { target *-*-* } 249 }
+// { dg-error "rep cannot be a duration" "" { target *-*-* } 246 }
 // { dg-error "required from here" "" { target *-*-* } 31 }
index b712ed4a64a0e328f4644d0b29249a1fa4fdc0fe..3ffaf40fda52c99dafc8d8ad990bfe10b660b15a 100644 (file)
@@ -32,5 +32,5 @@ void test01()
   test_type d;                 // { dg-error "required from here" }
 }
 
-// { dg-error "must be a specialization of ratio" "" { target *-*-* } 250 }
+// { dg-error "must be a specialization of ratio" "" { target *-*-* } 247 }
 // { dg-prune-output "not a member" }
index a25e0da5a91fe3cbd2543ab41a960983301e91f4..7c9d127a15f3634ee37df7345e659dc6f5b85789 100644 (file)
@@ -33,5 +33,5 @@ void test01()
   test_type d;
 }
 
-// { dg-error "period must be positive" "" { target *-*-* } 252 }
+// { dg-error "period must be positive" "" { target *-*-* } 249 }
 // { dg-error "required from here" "" { target *-*-* } 33 }
index 9a3ea8bf799a0d3f82447b68d202115d8f5a75e4..eaad899b05fb1faa070381c8a602a62b312975a8 100644 (file)
@@ -48,5 +48,5 @@ void test01()
 // { dg-error "required from here" "" { target *-*-* } 40 }
 // { dg-error "required from here" "" { target *-*-* } 42 }
 
-// { dg-error "invalid use of incomplete type" "" { target *-*-* } 1753 }
-// { dg-error "declaration of" "" { target *-*-* } 1717 }
+// { dg-error "invalid use of incomplete type" "" { target *-*-* } 1764 }
+// { dg-error "declaration of" "" { target *-*-* } 1728 }
index 8539e7a7223b72baef08719ec478e50a5f56e4f3..40811a858b74b1c11db079f8d8b5005c33301fac 100644 (file)
@@ -48,5 +48,5 @@ void test01()
 // { dg-error "required from here" "" { target *-*-* } 40 }
 // { dg-error "required from here" "" { target *-*-* } 42 }
 
-// { dg-error "invalid use of incomplete type" "" { target *-*-* } 1656 }
-// { dg-error "declaration of" "" { target *-*-* } 1620 }
+// { dg-error "invalid use of incomplete type" "" { target *-*-* } 1667 }
+// { dg-error "declaration of" "" { target *-*-* } 1631 }
index 9a3a24586474a5de5cebcc3eac992cdf21c7ff6e..979d7f6b5aa32e56506b75a17578609350d1fe9a 100644 (file)
@@ -28,6 +28,6 @@ int n1 = std::get<1>(a);
 int n2 = std::get<1>(std::move(a));
 int n3 = std::get<1>(ca);
 
-// { dg-error "static assertion failed" "" { target *-*-* } 277 }
-// { dg-error "static assertion failed" "" { target *-*-* } 286 }
-// { dg-error "static assertion failed" "" { target *-*-* } 294 }
+// { dg-error "static assertion failed" "" { target *-*-* } 274 }
+// { dg-error "static assertion failed" "" { target *-*-* } 283 }
+// { dg-error "static assertion failed" "" { target *-*-* } 291 }
index 6aff5024317c8054ecd2cadd9d192c07130b6f4c..4b1e5aeb661633a4cd3bd7b363f2c110d30d8ce2 100644 (file)
@@ -23,4 +23,4 @@
 
 typedef std::tuple_element<1, std::array<int, 1>>::type type;
 
-// { dg-error "static assertion failed" "" { target *-*-* } 325 }
+// { dg-error "static assertion failed" "" { target *-*-* } 322 }
index b97ecc58f99f0d21448db6c01340a867ab5744fa..1c590dd841bff42c9aa1f67fe26e68362faebb8b 100644 (file)
 #  error "__cpp_lib_complex_udls != 201309"
 #endif
 
-#ifndef  __cpp_lib_generic_associative_lookup
-#  error "__cpp_lib_generic_associative_lookup"
-#elif  __cpp_lib_generic_associative_lookup != 201304
-#  error "__cpp_lib_generic_associative_lookup != 201304"
-#endif
+//#ifndef  __cpp_lib_generic_associative_lookup
+//#  error "__cpp_lib_generic_associative_lookup"
+//#elif  __cpp_lib_generic_associative_lookup != 201304
+//#  error "__cpp_lib_generic_associative_lookup != 201304"
+//#endif
 
 //#ifndef  __cpp_lib_null_iterators
 //#  error "__cpp_lib_null_iterators"
 #elif  __cpp_lib_shared_timed_mutex != 201402
 #  error "__cpp_lib_shared_timed_mutex != 201402"
 #endif
+
+#ifndef  __cpp_lib_is_final
+#  error "__cpp_lib_is_final"
+#elif  __cpp_lib_is_final != 201402
+#  error "__cpp_lib_is_final != 201402"
+#endif
index ac8560dfb42aa7308f41488b7f437c12cb7e2e44..50d1ce247f057d9b8700cb21d6538b33562be14a 100644 (file)
@@ -12,9 +12,9 @@
 //#  error "<experimental/net>"
 //#endif
 
-//#if !__has_include(<experimental/any>)
-//#  error "<experimental/any>"
-//#endif
+#if !__has_include(<experimental/any>)
+#  error "<experimental/any>"
+#endif
 
 //#if !__has_include(<experimental/memory_resource>)
 //#  error "<experimental/memory_resource>"