We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
format_to_n
format
format_to
template <typename... T> FMT_INLINE auto format(format_string<T...> fmt, T&&... args) -> std::string { return vformat(fmt, fmt::make_format_args(args...)); } template <typename OutputIt, typename... T, FMT_ENABLE_IF(detail::is_output_iterator<OutputIt, char>::value)> FMT_INLINE auto format_to(OutputIt out, format_string<T...> fmt, T&&... args) -> OutputIt { return vformat_to(out, fmt, fmt::make_format_args(args...)); } template <typename OutputIt, typename... T, FMT_ENABLE_IF(detail::is_output_iterator<OutputIt, char>::value)> FMT_INLINE auto format_to_n(OutputIt out, size_t n, format_string<T...> fmt, const T&... args) -> format_to_n_result<OutputIt> { return vformat_to_n(out, n, fmt, fmt::make_format_args(args...)); }
Should const T&... args be T&&... args here?
const T&... args
T&&... args
The text was updated successfully, but these errors were encountered:
Yes, good catch.
Sorry, something went wrong.
args
xchar.h
Successfully merging a pull request may close this issue.
Should
const T&... args
beT&&... args
here?The text was updated successfully, but these errors were encountered: