Skip to content

Commit a037edb

Browse files
committed
Simplified
1 parent 52de973 commit a037edb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

provides/include/lax_v1/logical.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include "lax_v1/logical_synopsis.hpp"
55
#include "lax_v1/value.hpp"
66

7-
template <class... Exprs> struct lax_v1::and_m : true_t {};
7+
template <> struct lax_v1::and_m<> : true_t {};
88
template <class... Exprs>
99
struct lax_v1::and_m<lax_v1::false_t, Exprs...> : false_t {};
1010
template <class... Exprs>
@@ -15,10 +15,10 @@ struct lax_v1::and_m<Expr, Exprs...> : and_m<force_t<Expr>, Exprs...> {};
1515
template <class Expr>
1616
struct lax_v1::not_m : value_t<bool, !value_of_v<Expr>> {};
1717

18-
template <class... Exprs> struct lax_v1::or_m : false_t {};
18+
template <> struct lax_v1::or_m<> : false_t {};
1919
template <class... Exprs>
2020
struct lax_v1::or_m<lax_v1::true_t, Exprs...> : true_t {};
2121
template <class... Exprs>
2222
struct lax_v1::or_m<lax_v1::false_t, Exprs...> : or_m<Exprs...> {};
2323
template <class Expr, class... Exprs>
24-
struct lax_v1::or_m<Expr, Exprs...> : lax_v1::or_m<force_t<Expr>, Exprs...> {};
24+
struct lax_v1::or_m<Expr, Exprs...> : or_m<force_t<Expr>, Exprs...> {};

0 commit comments

Comments
 (0)