Plumbing: Use variadic templates for format()

- Use variadic templates, with a slight twist for properly supporting
  Taskwarrior's l10n strings.
- Adjust code that relied on implicit type conversion which led to
  problems with template instantiation.
- Move some functionality out of format() in order to keep it generic.
This commit is contained in:
Wilhelm Schuermann
2015-06-07 20:36:21 +02:00
parent f0fbdaf2c9
commit e95167a984
6 changed files with 73 additions and 218 deletions

View File

@@ -20,6 +20,8 @@ Babej).
- Removed obsolete script 'context'.
- Fix "project" verbosity info not showing without "footnote" being manually
enabled.
- Internal plumbing: Use variadic templates for format(), reducing code bloat
and enabling more flexible use of the function.
------ current release ---------------------------