8000 How to apply formatting arguments from a vector? · Issue #16 · seanmiddleditch/formatxx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on May 29, 2020. It is now read-only.

How to apply formatting arguments from a vector? #16

Open
MacDue opened this issue Jan 6, 2020 · 1 comment
Open
8BC7

How to apply formatting arguments from a vector? #16

MacDue opened this issue Jan 6, 2020 · 1 comment

Comments

@MacDue
Copy link
MacDue commented Jan 6, 2020

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
Copy link
Author
MacDue commented Jan 6, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0