RE: [Boost-Users] Digest Number 81
Date: Tue, 29 Jan 2002 20:22:32 -0500 (EST) From: Jeremy Siek
Subject: RE: RE: Dependencies for tokenizer? On Tue, 29 Jan 2002, Jeff Garland wrote: jeff> jeff> I'm sure there is. It is a matter of getting the "25 lines of jeff> actual code" (my guess) in those 47 headers that tokenizer jeff> really needs into a small header. I'm sure with a small jeff> effort you could do it. Perhaps you could even find a way to jeff> improve the overall design in the process.
Well, it could get a little messy. The iterator adaptors use some stuff from the type_traits headers, which have lots of workarounds for different compilers, etc., etc.
For a super simple C++ stringtok see the header
boost/pending/stringtok.hpp
It's not an official boost library, but you might find it fits your needs.
Cheers, Jeremy
Thank you for pointing out the pitfalls of reworking tokenizer and for pointing out boost/pending/stringtok.hpp, it serves fine for my purposes. -- Tony K.
participants (1)
-
Anthony Kolarik