Apply suggestions from code review
This commit is contained in:
parent
6d8a78fd88
commit
95087716ae
@ -152,7 +152,7 @@ struct has_to_json < BasicJsonType, T, enable_if_t < !is_basic_json<T>::value >>
|
|||||||
|
|
||||||
// https://en.cppreference.com/w/cpp/types/conjunction
|
// https://en.cppreference.com/w/cpp/types/conjunction
|
||||||
template<class...> struct conjunction : std::true_type { };
|
template<class...> struct conjunction : std::true_type { };
|
||||||
template<class B> struct conjunction<Bx> : B { };
|
template<class B> struct conjunction<B> : B { };
|
||||||
template<class B, class... Bn>
|
template<class B, class... Bn>
|
||||||
struct conjunction<B, Bn...>
|
struct conjunction<B, Bn...>
|
||||||
: std::conditional<bool(B::value), conjunction<Bn...>, B>::type {};
|
: std::conditional<bool(B::value), conjunction<Bn...>, B>::type {};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user