lib: trim.h: make wrapper function inline, put in namespace, and keep std::
commit87a2cb4b8b9515b3e70ece31db05c6a5f68ff708
authorChris Frey <cdfrey@foursquare.net>
Sat, 21 Jul 2012 06:15:04 +0000 (21 02:15 -0400)
committerChris Frey <cdfrey@foursquare.net>
Wed, 25 Jul 2012 05:15:45 +0000 (25 01:15 -0400)
treee97d3c1e8cefc3022e21aef8122ffc2f93d56e4d
parent03e6070a34378c714fdd9c118e80fc7239395f9a
lib: trim.h: make wrapper function inline, put in namespace, and keep std::

I've run into compile trouble if some functions are not inline, in
headers.

Should keep this wrapper function inside the same namespace as the
trim functions.

The previous code used std::isspace(), so attempt to continue using it.
I don't know if this compiles on WinCE.

Since this changes inline functions definitions, I'm assuming it could
break the ABI, so postpone for 0.19.0.
src/trim.h