Re: [boost] Custom iterators

2002-12-12 Thread Ben Young
On Wed, 11 Dec 2002, Beman Dawes wrote: > At 07:09 AM 12/9/2002, Ben Young wrote: > > >I have recently implemented a set of custom output iterators that allow > >you to very trivially do escaping and quoting on data from any kind of > >iterator source... > > >... > > >Would anyone be intere

Re: [boost] Custom iterators

2002-12-11 Thread Beman Dawes
At 07:09 AM 12/9/2002, Ben Young wrote: >I have recently implemented a set of custom output iterators that allow >you to very trivially do escaping and quoting on data from any kind of >iterator source... >... >Would anyone be interested in these iterators being added to boost? They >are fully g

[boost] Custom iterators

2002-12-09 Thread Ben Young
I have recently implemented a set of custom output iterators that allow you to very trivially do escaping and quoting on data from any kind of iterator source. Example usage would be std::string input = "a bdsf 'foo bar baz'"; input.append( 1, '\0' ); std::string expectedOutput