|
Boost : |
From: christopher diggins (cdiggins_at_[hidden])
Date: 2005-02-20 14:02:02
----- Original Message -----
From: "Julio M. Merino Vidal" <jmmv84_at_[hidden]>
> But, before I start to do so, I would like to know if such library will
> be adequate to be integrated and/or if there is interest in it.
> FWIW, I've searched the mailing lists and found some people that said
> that they missed this functionality in Boost.
>
> Any comments?
>
> Thanks in advance,
I am definitely very interested!
I would like to see this kind of library have good integration with
Boost.Iostreams ( http://www.kangaroologic.com/iostreams/ ). I would also
like to have operator overloading for redirection and piping operations,
e.g.
ofstream f("test.cpp", ios_base::out | ios_base::trunc)
f << "#include <iostreams> int main() { std::cout << "hello world"; return
0; }";
f.close();
boost::process("gcc test.cpp");
stringstream s;
boost::process("a.out") > s;
assert(s.str() == "hello world");
I am already using this syntax this with my own ootl::filters library (which
redirects functions instead of processes), and I would gladly help integrate
the code (and make it more boost-worthy) with your library. The current
version of the code is at http://www.ootl.org/ootl/filters/filters.hpp.htm
and some examples of how I use it are at
http://www.ootl.org/ootl/filters/filter_tests.hpp.htm
Let me know if I can be of any help.
-- Christopher Diggins Object Oriented Template Library (OOTL) http://www.ootl.org
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk