mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-16 04:47:18 +08:00
Partially reverted all_t et al to avoid warnings about unused variables
This commit is contained in:
parent
1f104a10ac
commit
25ff700c01
@ -39,14 +39,14 @@ namespace sqlpp
|
|||||||
|
|
||||||
// see http://lists.boost.org/Archives/boost/2014/05/212946.php :-)
|
// see http://lists.boost.org/Archives/boost/2014/05/212946.php :-)
|
||||||
template <bool... B>
|
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>
|
template <bool... B>
|
||||||
using any_t =
|
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>
|
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>
|
template <bool>
|
||||||
struct not_impl;
|
struct not_impl;
|
||||||
|
Loading…
Reference in New Issue
Block a user