mirror of
https://github.com/BlackMATov/kari.hpp.git
synced 2025-12-15 13:29:49 +07:00
fix msvc 2017 tests compilation
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user