mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Bump version
This commit is contained in:
parent
d22f00d7e4
commit
35f72bf210
@ -210,7 +210,7 @@
|
||||
#ifndef FMT_BEGIN_NAMESPACE
|
||||
# define FMT_BEGIN_NAMESPACE \
|
||||
namespace fmt { \
|
||||
inline namespace v8 {
|
||||
inline namespace v9 {
|
||||
# define FMT_END_NAMESPACE \
|
||||
} \
|
||||
}
|
||||
@ -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() {}
|
||||
|
Loading…
Reference in New Issue
Block a user