formatxx icon indicating copy to clipboard operation
formatxx copied to clipboard

How to apply formatting arguments from a vector?

Open MacDue opened this issue 5 years ago • 1 comments

Say you have a template "Hello {0} test {1}

And a vector std::vector<std::string>{"Bill", "Bob"}

How do you apply the vector to the format string?

MacDue avatar Jan 06 '20 02:01 MacDue

I attempted just passing a vector to format_as which compiled, but did not actually format.

MacDue avatar Jan 06 '20 02:01 MacDue