summaryrefslogtreecommitdiff
path: root/libadhocutil/unittests/testCompileTimeFormatter.cpp
Commit message (Collapse)AuthorAge
* CTF printfDan Goodliffe2018-07-04
| | | | Adds support for a lot (but not all) of printf like formatters
* Any stream type with CTFDan Goodliffe2018-06-17
| | | | | | Minor alteration to allow for custom helpers. Then a unit test to demonstrate that with suitable helpers, a CTF can operate on any stream type, such as a stdio FILE.
* Lorem Ipsum testDan Goodliffe2018-06-17
| | | | | | Adds test case when formatter content is generated from a simple .txt file using xxd. The header is simply including and processed as a string literal.
* Add template string utilsDan Goodliffe2018-06-16
|
* Template strings don't need to be extern C++17, just constexprDan Goodliffe2018-06-16
|
* Use check, not require in CTF testsDan Goodliffe2018-06-16
|
* Add macros to ease declartion of formattersDan Goodliffe2016-12-30
|
* Return stream to ease inliningDan Goodliffe2016-12-30
|
* Add helper for simply returning a formatted string (sprintf style)Dan Goodliffe2016-12-30
|
* Macro helper for easily adding new formatters that take a single character ↵Dan Goodliffe2016-12-09
| | | | parameter from the format string
* Macro helper for easily adding new formattersDan Goodliffe2016-12-09
|
* Test a formatter can be typedef'edDan Goodliffe2016-12-09
|
* Tidy testsDan Goodliffe2016-12-09
|
* Provide a way of formatting a literal percent signDan Goodliffe2016-12-09
|
* Pass format string as template argument into writer to avoid copying out ↵Dan Goodliffe2016-12-09
| | | | bytes from stream write
* Bit messy and fiddly, but removes the template string length limit of (just ↵Dan Goodliffe2016-12-09
| | | | under) compile time template-depth
* Refactor to avoid hitting the template depth limit so earlyDan Goodliffe2016-12-08
|
* Adds support for the compile time formatterDan Goodliffe2016-12-07