Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add join argument allowing formating list of values separated by a #466

Merged
merged 6 commits into from
Feb 8, 2017
Merged

Add join argument allowing formating list of values separated by a #466

merged 6 commits into from
Feb 8, 2017

Conversation

olivier80
Copy link
Contributor

string. Each value is formated according the format specifier.

@vitaut
Copy link
Contributor

vitaut commented Feb 5, 2017

Thanks for contributing. The PR looks good but could you follow the coding conventions described in https://github.com/fmtlib/fmt/blob/master/CONTRIBUTING.rst?

@olivier80
Copy link
Contributor Author

Sorry. Hope it's ok now.

fmt/format.h Outdated

template <typename Char, typename It>
struct ArgJoin
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The brace belongs to the previous line. Otherwise looks good.

fmt/format.h Outdated
@@ -3865,6 +3865,72 @@ void BasicFormatter<Char, AF>::format(BasicCStringRef<Char> format_str) {
}
write(writer_, start, s);
}


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: extra empty line

fmt/format.h Outdated
}
#endif


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also here

fmt/format.h Outdated




Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and a bunch here

@vitaut vitaut merged commit a000061 into fmtlib:master Feb 8, 2017
@vitaut
Copy link
Contributor

vitaut commented Feb 8, 2017

Merged, thanks!

@olivier80
Copy link
Contributor Author

Thank you !

@olivier80 olivier80 deleted the join-arg branch February 8, 2017 16:58
vitaut added a commit that referenced this pull request Jan 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants