You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to c++, apology if this is not a good issue.
I'm coming from #1771 , but I'm using a vector<char> as memory buffer.
And fmt::format_to(std::back_inserter(out), FMT_COMPILE("{}"), val) works if out is std::string of fmt::memory_buffer but not std::vector<char>, and fmt::format_to(std::back_inserter(buffer), "{}", val) works for vector<char>
Is it possible to add support for vector<char> and FMT_COMPILE?
The text was updated successfully, but these errors were encountered:
trim21
changed the title
fmt::format_to with vector<char> and FMT_COMPILE can't work together.
use fmt::format_to with vector<char> and FMT_COMPILEOct 20, 2024
I'm new to c++, apology if this is not a good issue.
I'm coming from #1771 , but I'm using a
vector<char>
as memory buffer.And
fmt::format_to(std::back_inserter(out), FMT_COMPILE("{}"), val)
works ifout
isstd::string
offmt::memory_buffer
but notstd::vector<char>
, andfmt::format_to(std::back_inserter(buffer), "{}", val)
works forvector<char>
Is it possible to add support for
vector<char>
andFMT_COMPILE
?https://godbolt.org/z/h6xoG65he
The text was updated successfully, but these errors were encountered: