]> git.cworth.org Git - apitrace/commit
trim: Abstract common stringstream idioms into shared functions.
authorCarl Worth <cworth@cworth.org>
Wed, 15 Aug 2012 00:13:30 +0000 (17:13 -0700)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 22 Nov 2012 08:03:16 +0000 (08:03 +0000)
commit619a0bea1a05ff5cff126863d9415f3e030a4f4d
treedac2eb05ba36cf50079ded4452f31bb13c713da4
parent5ff3857d42008bc7fde6ebae56710ecd311fef64
trim: Abstract common stringstream idioms into shared functions.

Using the new providef, linkf, and unlinkf functions shrinks the code
a bit. It's tempting to provide <stdargs> functions with full
printf-like formatting, but it's really not necessary as of yet.
cli/cli_trim.cpp