Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
fmt
Commits
832ec098
Commit
832ec098
authored
May 30, 2021
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix argument order in locale overload of vformat_to (#2327)
parent
486a80e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/fmt/format.h
include/fmt/format.h
+2
-2
No files found.
include/fmt/format.h
View file @
832ec098
...
@@ -2819,7 +2819,7 @@ inline auto format_to(basic_memory_buffer<Char, SIZE, Allocator>& buf,
...
@@ -2819,7 +2819,7 @@ inline auto format_to(basic_memory_buffer<Char, SIZE, Allocator>& buf,
template
<
typename
OutputIt
,
typename
Locale
,
template
<
typename
OutputIt
,
typename
Locale
,
FMT_ENABLE_IF
(
detail
::
is_output_iterator
<
OutputIt
,
char
>
::
value
&&
FMT_ENABLE_IF
(
detail
::
is_output_iterator
<
OutputIt
,
char
>
::
value
&&
detail
::
is_locale
<
Locale
>::
value
)
>
detail
::
is_locale
<
Locale
>::
value
)
>
auto
vformat_to
(
const
Locale
&
loc
,
OutputIt
out
,
string_view
fmt
,
auto
vformat_to
(
OutputIt
out
,
const
Locale
&
loc
,
string_view
fmt
,
format_args
args
)
->
OutputIt
{
format_args
args
)
->
OutputIt
{
using
detail
::
get_buffer
;
using
detail
::
get_buffer
;
auto
&&
buf
=
get_buffer
<
char
>
(
out
);
auto
&&
buf
=
get_buffer
<
char
>
(
out
);
...
@@ -2832,7 +2832,7 @@ template <typename OutputIt, typename Locale, typename... T,
...
@@ -2832,7 +2832,7 @@ template <typename OutputIt, typename Locale, typename... T,
detail
::
is_locale
<
Locale
>::
value
)
>
detail
::
is_locale
<
Locale
>::
value
)
>
FMT_INLINE
auto
format_to
(
OutputIt
out
,
const
Locale
&
loc
,
FMT_INLINE
auto
format_to
(
OutputIt
out
,
const
Locale
&
loc
,
format_string
<
T
...
>
fmt
,
T
&&
...
args
)
->
OutputIt
{
format_string
<
T
...
>
fmt
,
T
&&
...
args
)
->
OutputIt
{
return
vformat_to
(
loc
,
out
,
fmt
,
fmt
::
make_format_args
(
args
...));
return
vformat_to
(
out
,
loc
,
fmt
,
fmt
::
make_format_args
(
args
...));
}
}
FMT_MODULE_EXPORT_END
FMT_MODULE_EXPORT_END
FMT_END_NAMESPACE
FMT_END_NAMESPACE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment