Cleanup core.h
This commit is contained in:
@@ -241,6 +241,19 @@ FMT_END_NAMESPACE
|
||||
#endif
|
||||
|
||||
FMT_BEGIN_NAMESPACE
|
||||
|
||||
template <typename...> struct disjunction : std::false_type {};
|
||||
template <typename P> struct disjunction<P> : P {};
|
||||
template <typename P1, typename... Pn>
|
||||
struct disjunction<P1, Pn...>
|
||||
: conditional_t<bool(P1::value), P1, disjunction<Pn...>> {};
|
||||
|
||||
template <typename...> struct conjunction : std::true_type {};
|
||||
template <typename P> struct conjunction<P> : P {};
|
||||
template <typename P1, typename... Pn>
|
||||
struct conjunction<P1, Pn...>
|
||||
: conditional_t<bool(P1::value), conjunction<Pn...>, P1> {};
|
||||
|
||||
namespace detail {
|
||||
|
||||
FMT_CONSTEXPR inline void abort_fuzzing_if(bool condition) {
|
||||
|
||||
Reference in New Issue
Block a user