File tree 1 file changed +2
-14
lines changed
1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -121,13 +121,7 @@ class BasicFormatParameter
121
121
*
122
122
* @param value The user-defined value.
123
123
*/
124
- template <
125
- typename T,
126
- fly::disable_if_any<
127
- detail::is_like_supported_string<T>,
128
- BasicFormatTraits::is_pointer<T>,
129
- std::is_arithmetic<T>,
130
- BasicFormatTraits::is_default_formatted_enum<T>> = 0 >
124
+ template <typename T, fly::enable_if<BasicFormatTraits::is_user_defined<T>> = 0 >
131
125
explicit constexpr BasicFormatParameter (const T &value) noexcept ;
132
126
133
127
/* *
@@ -336,13 +330,7 @@ constexpr inline BasicFormatParameter<FormatContext>::BasicFormatParameter() noe
336
330
337
331
// ==================================================================================================
338
332
template <typename FormatContext>
339
- template <
340
- typename T,
341
- fly::disable_if_any<
342
- detail::is_like_supported_string<T>,
343
- BasicFormatTraits::is_pointer<T>,
344
- std::is_arithmetic<T>,
345
- BasicFormatTraits::is_default_formatted_enum<T>>>
333
+ template <typename T, fly::enable_if<BasicFormatTraits::is_user_defined<T>>>
346
334
constexpr inline BasicFormatParameter<FormatContext>::BasicFormatParameter(const T &value) noexcept
347
335
:
348
336
m_type (Type::UserDefined),
You can’t perform that action at this time.
0 commit comments