]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/config/test/boost_no_cxx11_hdr_type_traits.ipp
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / libs / config / test / boost_no_cxx11_hdr_type_traits.ipp
index cf6cdd70efbee3d7b87b386e79cd499353e09bde..d4862a0c8a2fdcf42cd715b2455e3611e7d139ee 100644 (file)
@@ -45,7 +45,11 @@ int test()
   using std::is_trivially_copyable;
   using std::is_standard_layout;
   using std::is_pod;
+#if !((__cplusplus > 201700) || (defined(_MSVC_LANG) && (_MSVC_LANG > 201700)))
+  // deprecated in C++ 17:
   using std::is_literal_type;
+  using std::result_of;
+#endif
   using std::is_empty;
   using std::is_polymorphic;
   using std::is_abstract;
@@ -99,7 +103,6 @@ int test()
   using std::conditional;
   using std::common_type;
   using std::underlying_type;
-  using std::result_of;
   return 0;
 }