mirror of
https://github.com/shadps4-emu/ext-fmt.git
synced 2024-11-27 11:40:26 +00:00
Remove deprecated options
This commit is contained in:
parent
d0963d4823
commit
c10859f15c
@ -24,12 +24,8 @@ template <typename T> class is_map {
|
|||||||
template <typename> static void check(...);
|
template <typename> static void check(...);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
#ifdef FMT_FORMAT_MAP_AS_LIST // DEPRECATED!
|
|
||||||
static constexpr const bool value = false;
|
|
||||||
#else
|
|
||||||
static constexpr const bool value =
|
static constexpr const bool value =
|
||||||
!std::is_void<decltype(check<T>(nullptr))>::value;
|
!std::is_void<decltype(check<T>(nullptr))>::value;
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename T> class is_set {
|
template <typename T> class is_set {
|
||||||
@ -37,12 +33,8 @@ template <typename T> class is_set {
|
|||||||
template <typename> static void check(...);
|
template <typename> static void check(...);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
#ifdef FMT_FORMAT_SET_AS_LIST // DEPRECATED!
|
|
||||||
static constexpr const bool value = false;
|
|
||||||
#else
|
|
||||||
static constexpr const bool value =
|
static constexpr const bool value =
|
||||||
!std::is_void<decltype(check<T>(nullptr))>::value && !is_map<T>::value;
|
!std::is_void<decltype(check<T>(nullptr))>::value && !is_map<T>::value;
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename... Ts> struct conditional_helper {};
|
template <typename... Ts> struct conditional_helper {};
|
||||||
|
Loading…
Reference in New Issue
Block a user