From 0003b7856db28f7d920d3f707c99cd99ed68ce46 Mon Sep 17 00:00:00 2001 From: Simon Brand Date: Wed, 11 Oct 2017 19:31:20 +0100 Subject: [PATCH] MSVC --- tests/monadic.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/monadic.cpp b/tests/monadic.cpp index 8e51133..641be0f 100644 --- a/tests/monadic.cpp +++ b/tests/monadic.cpp @@ -192,6 +192,7 @@ REQUIRE(!o39r); } SECTION("map constexpr") { +#ifndef _MSC_VER // test each overload in turn constexpr tl::optional o16 = 42; constexpr auto o16r = o16.map(get_int); @@ -225,6 +226,7 @@ SECTION("map constexpr") { constexpr tl::optional o38 = tl::nullopt; constexpr auto o38r = std::move(o38).map(opt_int); STATIC_REQUIRE(!o38r); +#endif } SECTION("and_then") {