Is there any interest in a simple template for streaming in/out primitives and STL Containers of them?

I am using it for some time and hope that other will benefite from it. One file streamline.h will help user to stream out/in an arbitrary item of primitives or STL containers of them. It is very simple to use; just type like this: #include "streamline.h" using namespace hekate; ....... typedef std::pair<std::string, std::vector<int> > element; element one,other; And stream it out as: streamline(cout,one); or stream it in as: streamline(cin,other); . User will find a lot of examples in the streamtest.cpp file at streamline.tar in "Files section". The streaming templates were tested with gcc version 3.3.2, msvc7 and ibm89 c++ compiler. Boris Kats. boriskats@yahoo.com __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail

"Boris Kats" <boriskats@yahoo.com> wrote in message news:20040905202417.5345.qmail@web51903.mail.yahoo.com...
I am using it for some time and hope that other will benefite from it. One file streamline.h will help user to stream out/in an arbitrary item of primitives or STL containers of them. It is very simple to use; just type like this:
Check out Reece Dunne's Output Formatting library, up for review in a few days.It's in the boost sandbox under outfmt. Jonathan
participants (2)
-
Boris Kats
-
Jonathan Turkanis