0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Partially reverted all_t et al to avoid warnings about unused variables

This commit is contained in:
rbock 2015-10-03 10:17:59 +02:00
parent 1f104a10ac
commit 25ff700c01

View File

@ -39,14 +39,14 @@ namespace sqlpp
// see http://lists.boost.org/Archives/boost/2014/05/212946.php :-)
template <bool... B>
using all_t = std::is_same<logic_helper<B...>, logic_helper<(B, true)...>>;
using all_t = std::is_same<logic_helper<B...>, logic_helper<(B or true)...>>;
template <bool... B>
using any_t =
std::integral_constant<bool, not std::is_same<logic_helper<B...>, logic_helper<(B, false)...>>::value>;
std::integral_constant<bool, not std::is_same<logic_helper<B...>, logic_helper<(B and false)...>>::value>;
template <bool... B>
using none_t = std::is_same<logic_helper<B...>, logic_helper<(B, false)...>>;
using none_t = std::is_same<logic_helper<B...>, logic_helper<(B or false)...>>;
template <bool>
struct not_impl;