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?
I'm new to c++, apology if this is not a good issue.
I'm coming from https://github.com/fmtlib/fmt/issues/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