Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Jul 4, 2022
1 parent d22f00d commit 35f72bf
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions include/fmt/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
#ifndef FMT_BEGIN_NAMESPACE
# define FMT_BEGIN_NAMESPACE \
namespace fmt { \
inline namespace v8 {
inline namespace v9 {
# define FMT_END_NAMESPACE \
} \
}
Expand Down Expand Up @@ -306,23 +306,17 @@ template <typename T> using type_identity_t = typename type_identity<T>::type;
template <typename T>
using underlying_t = typename std::underlying_type<T>::type;

template <typename...>
struct disjunction : std::false_type {};
template <typename P>
struct disjunction<P> : P {};
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...>> {
};
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...> 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> {
};
: conditional_t<bool(P1::value), conjunction<Pn...>, P1> {};

struct monostate {
constexpr monostate() {}
Expand Down

0 comments on commit 35f72bf

Please sign in to comment.