summaryrefslogtreecommitdiff
path: root/libadhocutil/compileTimeFormatter.h
Commit message (Collapse)AuthorAge
* Lots more clang tidy fixesDan Goodliffe2019-03-03
|
* More clang-tidy WIPDan Goodliffe2019-02-12
|
* Explicitly disable stream operator() of formatterlibadhocutil-0.7.0Dan Goodliffe2019-02-04
| | | | | When stream type does not have a write member, prevents failure when overload matches call because first argument can passed by non-const reference.
* Add missing doxygen commentslibadhocutil-0.6.0Dan Goodliffe2019-01-18
|
* Literal operator based inline formattingDan Goodliffe2019-01-18
|
* Support scprintf macro for format string with no argsDan Goodliffe2018-09-04
|
* scprintf macro with non-variableDan Goodliffe2018-09-04
| | | | | Updates scprintf macro to handle the case where strm isn't a variable and thus cannot be captured, instead passing it as a parameter to the lambda.
* Add missing doxygen commentsDan Goodliffe2018-09-03
|
* Greatly improved CTF printf supportDan Goodliffe2018-09-03
|
* Add constexpr functions for identifying char rangesDan Goodliffe2018-08-30
|
* Add in a template type arg for enable_ifDan Goodliffe2018-08-30
|
* Simplify CTF bad format handlingDan Goodliffe2018-08-30
| | | | static assertion is now just the default behaviour, not a catch all template class
* Add the scprintf macroDan Goodliffe2018-08-20
| | | | | Clang/LLVM only macro which allows a more pure use of CTF with everything inline. e.g. scprintf(str, "Number = %d", n)
* Fix compilation with template auto and + operatorDan Goodliffe2018-08-20
|
* 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.
* Create a typedef for the formatters char typeDan Goodliffe2018-06-17
|
* 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.
* Simplify CTF invalid static_assertDan Goodliffe2018-06-17
|
* Use template auto types throughout CTFDan Goodliffe2018-06-17
|
* Massively simplified CTF with C++17 constexprDan Goodliffe2018-06-17
|
* Add template string utilsDan Goodliffe2018-06-16
|
* Template strings don't need to be extern C++17, just constexprDan Goodliffe2018-06-16
|
* Add missing include guardlibadhocutil-0.5.1Dan Goodliffe2018-05-08
|
* Inline the formatter constsDan Goodliffe2018-05-08
| | | | Allows a formatter to be a typedef in multiple compilation units.
* Fix uniqueness of generated name for format string varDan Goodliffe2018-05-08
|
* C++17Dan Goodliffe2018-04-06
| | | | Remove all boost things now in the standard library from CTF.
* Refactor to reduce AdHoc namespace polutionlibadhocutil-0.4.1Dan Goodliffe2016-12-30
|
* Add macros to ease declartion of formattersDan Goodliffe2016-12-30
|
* Add doxygen comments for compile time formatterDan 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
|
* Rename hacked in 'stuff' to 'scan'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
|
* Provide a way of formatting a literal percent signDan Goodliffe2016-12-09
|
* Custom stop chars are never usedDan Goodliffe2016-12-09
|
* Simplify the upto writersDan Goodliffe2016-12-09
|
* Simplify the upto bufferDan Goodliffe2016-12-09
|
* Split parser buffer from upto buffer (simpler)Dan Goodliffe2016-12-09
|
* Simplify parser templatesDan 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