Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1548 from PhilipDeegan/termios_conflict
Browse files Browse the repository at this point in the history
update type_traits/logical_metafunctions.h #1547
  • Loading branch information
alliepiper authored Oct 26, 2021
2 parents 851ae3a + 9e23be5 commit b8233c4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions thrust/type_traits/logical_metafunctions.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ struct conjunction_value<> : std::true_type {};
template <bool B>
struct conjunction_value<B> : std::integral_constant<bool, B> {};

template <bool B0, bool... BN>
struct conjunction_value<B0, BN...>
: std::integral_constant<bool, B0 && conjunction_value<BN...>::value> {};
template <bool B, bool... Bs>
struct conjunction_value<B, Bs...>
: std::integral_constant<bool, B && conjunction_value<Bs...>::value> {};

///////////////////////////////////////////////////////////////////////////////

Expand All @@ -153,9 +153,9 @@ struct disjunction_value<> : std::false_type {};
template <bool B>
struct disjunction_value<B> : std::integral_constant<bool, B> {};

template <bool B0, bool... BN>
struct disjunction_value<B0, BN...>
: std::integral_constant<bool, B0 || disjunction_value<BN...>::value> {};
template <bool B, bool... Bs>
struct disjunction_value<B, Bs...>
: std::integral_constant<bool, B || disjunction_value<Bs...>::value> {};

///////////////////////////////////////////////////////////////////////////////

Expand Down

0 comments on commit b8233c4

Please sign in to comment.