Apply suggestions from code review

This commit is contained in:
Niels Lohmann 2022-04-03 17:18:39 +02:00 committed by GitHub
parent 95087716ae
commit f5f122cd0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3497,7 +3497,7 @@ struct has_to_json < BasicJsonType, T, enable_if_t < !is_basic_json<T>::value >>
// https://en.cppreference.com/w/cpp/types/conjunction
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>
struct conjunction<B, Bn...>
: std::conditional<bool(B::value), conjunction<Bn...>, B>::type {};