Re: stream input

From: Aleks Dubinskiy (ad_at_imm.dtu.dk)
Date: 08/25/04


Date: Wed, 25 Aug 2004 10:54:58 +0200


> I hacked this up in less than five minutes and it was only about
> the second or third time I ever needed it. Actually, I don't
> think I have ever used something like this in any production code.
> Thus: is this something really needed?
>
> Personally, I'm not that interested in doing micro-proposals like
> this for the IOStreams library: if there is something to propose,
> it would be a general overhaul of the IOStreams library. But I don't
> even see much point in this: persistance is done through data bases,
> user interaction through GUIs, and the remaining debug output (this
> is nearly the exclusive use I have myself for IOStreams in production
> code) or input from files is already reasonably handled. It would be
> much more reasonable to concentrate e.g. on XML support of C++.
>
> However, support for something like the "expect" manipulator mentioned
> here my be a reasonable but small contribution to Boost which may
> make it into a proposal for extensions to the IOStreams library.
> --
> <mailto:dietmar_kuehl@yahoo.com> <http://www.dietmar-kuehl.de/>
> <http://www.contendix.com> - Software Development & Consulting

Thanks for the suggestion, Dietmar - this is exactly what i was looking for.
While the code is not incredibly difficult, it is still serious and
unnecessary micro-management.
I think a lot of people would benefit from this feature in C++, especially a
portable one!

Cheers,
Aleks