]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/hana/test/_include/laws/monad_plus.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / hana / test / _include / laws / monad_plus.hpp
index 50d11a2725c742d0c9ae49d524ee376c0272ef5a..406320c91d21946f89defda0015758dd09c77f1c 100644 (file)
@@ -46,6 +46,10 @@ namespace boost { namespace hana { namespace test {
     struct TestMonadPlus<M, laws> {
         template <typename Xs, typename Predicates, typename Values>
         TestMonadPlus(Xs xs, Predicates predicates, Values values) {
+#ifdef BOOST_HANA_WORKAROUND_MSVC_DECLTYPEAUTO_RETURNTYPE_662735
+            empty<M>(); // force adding empty<M>'s member function to pending temploid list
+#endif
+
             hana::for_each(xs, [](auto a) {
                 static_assert(MonadPlus<decltype(a)>{}, "");