4
4
#include " fly/types/string/detail/classifier.hpp"
5
5
#include " fly/types/string/detail/format_parse_context.hpp"
6
6
#include " fly/types/string/detail/format_specifier.hpp"
7
- #include " fly/types/string/detail/string_concepts.hpp"
8
7
#include " fly/types/string/formatters.hpp"
8
+ #include " fly/types/string/string_concepts.hpp"
9
9
10
10
#include < array>
11
11
#include < cstdint>
@@ -152,7 +152,7 @@ class BasicFormatParameter
152
152
*
153
153
* @param value The user-defined value.
154
154
*/
155
- template <FormattableUserDefined T>
155
+ template <fly:: FormattableUserDefined T>
156
156
explicit constexpr BasicFormatParameter (const T &value) noexcept ;
157
157
158
158
/* *
@@ -163,7 +163,7 @@ class BasicFormatParameter
163
163
*
164
164
* @param value The string-like value.
165
165
*/
166
- template <FormattableString T>
166
+ template <fly:: FormattableString T>
167
167
explicit constexpr BasicFormatParameter (const T &value) noexcept ;
168
168
169
169
/* *
@@ -173,7 +173,7 @@ class BasicFormatParameter
173
173
*
174
174
* @param value The pointer value.
175
175
*/
176
- template <FormattablePointer T>
176
+ template <fly:: FormattablePointer T>
177
177
explicit constexpr BasicFormatParameter (T value) noexcept ;
178
178
179
179
/* *
@@ -183,7 +183,7 @@ class BasicFormatParameter
183
183
*
184
184
* @param value The integral value.
185
185
*/
186
- template <FormattableIntegral T>
186
+ template <fly:: FormattableIntegral T>
187
187
explicit constexpr BasicFormatParameter (T value) noexcept ;
188
188
189
189
/* *
@@ -193,7 +193,7 @@ class BasicFormatParameter
193
193
*
194
194
* @param value The floating-point value.
195
195
*/
196
- template <FormattableFloatingPoint T>
196
+ template <fly:: FormattableFloatingPoint T>
197
197
explicit constexpr BasicFormatParameter (T value) noexcept ;
198
198
199
199
/* *
@@ -203,7 +203,7 @@ class BasicFormatParameter
203
203
*
204
204
* @param value The boolean value.
205
205
*/
206
- template <FormattableBoolean T>
206
+ template <fly:: FormattableBoolean T>
207
207
explicit constexpr BasicFormatParameter (T value) noexcept ;
208
208
209
209
/* *
@@ -408,7 +408,7 @@ constexpr BasicFormatParameter<FormatContext>::BasicFormatParameter() noexcept :
408
408
409
409
// ==================================================================================================
410
410
template <typename FormatContext>
411
- template <FormattableUserDefined T>
411
+ template <fly:: FormattableUserDefined T>
412
412
constexpr BasicFormatParameter<FormatContext>::BasicFormatParameter(const T &value) noexcept :
413
413
m_type (Type::UserDefined),
414
414
m_value {.m_user_defined {&value, format_user_defined_value<FormatContext, T>}}
@@ -417,13 +417,13 @@ constexpr BasicFormatParameter<FormatContext>::BasicFormatParameter(const T &val
417
417
418
418
// ==================================================================================================
419
419
template <typename FormatContext>
420
- template <FormattableString T>
420
+ template <fly:: FormattableString T>
421
421
constexpr BasicFormatParameter<FormatContext>::BasicFormatParameter(const T &value) noexcept :
422
422
m_type (Type::String)
423
423
{
424
424
using U = std::remove_cvref_t <T>;
425
425
426
- using standard_character_type = detail ::StandardCharacterType<T>;
426
+ using standard_character_type = fly ::StandardCharacterType<T>;
427
427
using standard_view_type = std::basic_string_view<standard_character_type>;
428
428
429
429
standard_view_type view;
@@ -445,7 +445,7 @@ constexpr BasicFormatParameter<FormatContext>::BasicFormatParameter(const T &val
445
445
446
446
// ==================================================================================================
447
447
template <typename FormatContext>
448
- template <FormattablePointer T>
448
+ template <fly:: FormattablePointer T>
449
449
constexpr BasicFormatParameter<FormatContext>::BasicFormatParameter(T value) noexcept :
450
450
m_type (Type::Pointer),
451
451
m_value {.m_standard {.m_pointer {value}, .m_format {format_standard_value<FormatContext, T>}}}
@@ -454,7 +454,7 @@ constexpr BasicFormatParameter<FormatContext>::BasicFormatParameter(T value) noe
454
454
455
455
// ==================================================================================================
456
456
template <typename FormatContext>
457
- template <FormattableIntegral T>
457
+ template <fly:: FormattableIntegral T>
458
458
constexpr BasicFormatParameter<FormatContext>::BasicFormatParameter(T value) noexcept
459
459
{
460
460
m_value.m_standard .m_format = format_standard_value<FormatContext, T>;
@@ -473,7 +473,7 @@ constexpr BasicFormatParameter<FormatContext>::BasicFormatParameter(T value) noe
473
473
474
474
// ==================================================================================================
475
475
template <typename FormatContext>
476
- template <FormattableFloatingPoint T>
476
+ template <fly:: FormattableFloatingPoint T>
477
477
constexpr BasicFormatParameter<FormatContext>::BasicFormatParameter(T value) noexcept
478
478
{
479
479
m_value.m_standard .m_format = format_standard_value<FormatContext, T>;
@@ -497,7 +497,7 @@ constexpr BasicFormatParameter<FormatContext>::BasicFormatParameter(T value) noe
497
497
498
498
// ==================================================================================================
499
499
template <typename FormatContext>
500
- template <FormattableBoolean T>
500
+ template <fly:: FormattableBoolean T>
501
501
constexpr BasicFormatParameter<FormatContext>::BasicFormatParameter(T value) noexcept :
502
502
m_type (Type::Bool),
503
503
m_value {.m_standard {.m_bool {value}, .m_format {format_standard_value<FormatContext, T>}}}
0 commit comments