]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/tti/test/test_has_data.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / tti / test / test_has_data.cpp
index 4c70571769ca1cb05b0173af84f69e48618d34dd..4e221e5f5def5e0fc3764ccd6810fb13c5eb8372 100644 (file)
@@ -25,6 +25,13 @@ int main()
   BOOST_TEST((DAOther<AnotherType,AType>::value));
   BOOST_TEST((BOOST_TTI_HAS_DATA_GEN(ONestStr)<AnotherType,AType::AStructType>::value));
   
+#if !defined(BOOST_NO_CXX11_UNRESTRICTED_UNION)
+
+  BOOST_TEST((BOOST_TTI_HAS_DATA_GEN(USMember)<AType::AnUnion,float>::value));
+  BOOST_TEST((SomeUStaticD<AnotherType::AnotherUnion,char>::value));
+  
+#endif
+  
   // Passing non-class enclosing type will return false
   
   BOOST_TEST((!BOOST_TTI_HAS_DATA_GEN(IntBT)<unsigned long,AType::BType>::value));