fix msvc 2017 tests compilation

This commit is contained in:
BlackMATov
2020-12-11 11:08:52 +07:00
parent 54d9db7138
commit 6b6f2e7914
2 changed files with 23 additions and 9 deletions

View File

@@ -84,10 +84,12 @@ TEST_CASE("kari_examples") {
SUBCASE("API/is_curried") {
using namespace kari_hpp;
constexpr curry_t c = [](int a, int b){
constexpr auto l = [](int a, int b){
return a + b;
};
constexpr curry_t c = l;
STATIC_REQUIRE(is_curried_v<decltype(c)>);
STATIC_REQUIRE(is_curried<decltype(c)>::value);
}