Boost logo

Boost :

From: Carlo Wood (carlo_at_[hidden])
Date: 2004-09-07 04:55:29


On Tue, Sep 07, 2004 at 07:41:25AM +0200, John Torjo wrote:
> Why binary? I could see lots of uses for text as well.

Because text is a special case of binary. If the library
supports streambufs, and when it would support the concept
of 'message blocks', then "text" just means that you'd
detect End-Of-Line sequences and cut the stream into
messages that are in fact lines of text.

Actually putting that text in a std::string and doing
some work on it should be in user code imho.

-- 
Carlo Wood <carlo_at_[hidden]>

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk