mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-02 03:00:38 -06:00
Partially reverted all_t et al to avoid warnings about unused variables
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user