mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 20:18:49 +00:00
Bump version
This commit is contained in:
parent
d22f00d7e4
commit
35f72bf210
@ -210,7 +210,7 @@
|
|||||||
#ifndef FMT_BEGIN_NAMESPACE
|
#ifndef FMT_BEGIN_NAMESPACE
|
||||||
# define FMT_BEGIN_NAMESPACE \
|
# define FMT_BEGIN_NAMESPACE \
|
||||||
namespace fmt { \
|
namespace fmt { \
|
||||||
inline namespace v8 {
|
inline namespace v9 {
|
||||||
# define FMT_END_NAMESPACE \
|
# define FMT_END_NAMESPACE \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
@ -306,23 +306,17 @@ template <typename T> using type_identity_t = typename type_identity<T>::type;
|
|||||||
template <typename T>
|
template <typename T>
|
||||||
using underlying_t = typename std::underlying_type<T>::type;
|
using underlying_t = typename std::underlying_type<T>::type;
|
||||||
|
|
||||||
template <typename...>
|
template <typename...> struct disjunction : std::false_type {};
|
||||||
struct disjunction : std::false_type {};
|
template <typename P> struct disjunction<P> : P {};
|
||||||
template <typename P>
|
|
||||||
struct disjunction<P> : P {};
|
|
||||||
template <typename P1, typename... Pn>
|
template <typename P1, typename... Pn>
|
||||||
struct disjunction<P1, Pn...>
|
struct disjunction<P1, Pn...>
|
||||||
: conditional_t<bool(P1::value), P1, disjunction<Pn...>> {
|
: conditional_t<bool(P1::value), P1, disjunction<Pn...>> {};
|
||||||
};
|
|
||||||
|
|
||||||
template <typename...>
|
template <typename...> struct conjunction : std::true_type {};
|
||||||
struct conjunction : std::true_type {};
|
template <typename P> struct conjunction<P> : P {};
|
||||||
template <typename P>
|
|
||||||
struct conjunction<P> : P {};
|
|
||||||
template <typename P1, typename... Pn>
|
template <typename P1, typename... Pn>
|
||||||
struct conjunction<P1, Pn...>
|
struct conjunction<P1, Pn...>
|
||||||
: conditional_t<bool(P1::value), conjunction<Pn...>, P1> {
|
: conditional_t<bool(P1::value), conjunction<Pn...>, P1> {};
|
||||||
};
|
|
||||||
|
|
||||||
struct monostate {
|
struct monostate {
|
||||||
constexpr monostate() {}
|
constexpr monostate() {}
|
||||||
|
Loading…
Reference in New Issue
Block a user