]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/hana/test/_include/laws/monoid.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / hana / test / _include / laws / monoid.hpp
index bb2534135c46dcb367b4ff02d8571b01e558fdec..d500992a036b81b7c3cf18ba921faffae8438a50 100644 (file)
@@ -26,6 +26,10 @@ namespace boost { namespace hana { namespace test {
     struct TestMonoid<M, laws> {
         template <typename Xs>
         TestMonoid(Xs xs) {
+#ifdef BOOST_HANA_WORKAROUND_MSVC_DECLTYPEAUTO_RETURNTYPE_662735
+            zero<M>(); // force adding zero<M>'s member function to pending temploid list
+#endif
+
             hana::for_each(xs, hana::capture(xs)([](auto xs, auto a) {
                 static_assert(Monoid<decltype(a)>{}, "");