Boost logo

Boost Users :

From: Zeljko Vrba (zvrba_at_[hidden])
Date: 2005-07-06 11:55:31


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

David Abrahams wrote:
|
| like this one. If you can condense it into a simple statement, I'm
| willing to try again, but otherwise I'm not sure I can help you.
|
Think UNIX pipelines: ls -l | sort | gzip > /tmp/blah

1 stage == one operation over the data. ls is provider fo sort which is
provider to gzip.

i want to mimick the same in C++. each stage consumes data until its
provider has some, does some processing on the data and feeds the result
to its consumer (but only when its consumer asks it to provide the data
- - the model is consumer-driven).

but I need more powerful semantic: each stage can have more than one
input, it can feed its output to more than one stage and types on input
and output may differ.

is it a bit clearer now?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCzA0CFtofFpCIfhMRA7SXAJ9d1F+/LqYid5ZCmv5T0AuAmTaGFQCfeR1F
YIuUU/GYzfe1Ny8V77dBJ94=
=Yz7J
-----END PGP SIGNATURE-----


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net