mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 20:18:49 +00:00
Inline format_to
This commit is contained in:
parent
8f0fadfaaa
commit
d1aebdbde0
@ -564,7 +564,7 @@ FMT_INLINE std::basic_string<Char> format(const CompiledFormat& cf,
|
|||||||
|
|
||||||
template <typename OutputIt, typename CompiledFormat, typename... Args,
|
template <typename OutputIt, typename CompiledFormat, typename... Args,
|
||||||
FMT_ENABLE_IF(detail::is_compiled_format<CompiledFormat>::value)>
|
FMT_ENABLE_IF(detail::is_compiled_format<CompiledFormat>::value)>
|
||||||
constexpr OutputIt format_to(OutputIt out, const CompiledFormat& cf,
|
constexpr FMT_INLINE OutputIt format_to(OutputIt out, const CompiledFormat& cf,
|
||||||
const Args&... args) {
|
const Args&... args) {
|
||||||
return cf.format(out, args...);
|
return cf.format(out, args...);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user