Skip to content
Snippets Groups Projects
Commit e2f48e19 authored by Sam Yates's avatar Sam Yates Committed by Ben Cumming
Browse files

Move string-printf utility from lmorpho into util. (#228)

Move string-printf utility from lmorpho into util.

* Add `util::strprintf` printf-alike function that returns a `std::string` result.
* Include simple adaptors for `std::string` and standard smart pointer arguments fot `util::strprintf` (i.e. `std::string` arguments can be used with `%s`, smart pointers with `%p`).
* Add unit tests to suit.
parent 6f6a2db6
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment