Skip to content

Inconsistent parameter ordering in localized vformat_to #2327

Closed
@DanielaE

Description

@DanielaE

Overload for char:

template <typename OutputIt, typename Locale>
auto vformat_to(const Locale& loc, OutputIt out, string_view fmt, format_args args)

Overload for Charchar:

template <typename Locale, typename S, typename OutputIt, typename... Args, typename Char = char_t<S>>
inline OutputIt vformat_to(
    OutputIt out, const Locale& loc, const S& format_str,
    basic_format_args<buffer_context<type_identity_t<Char>>> args);

Is this intended? All other localized API overloads take the locale as their first parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions