
8 Sep
2006
8 Sep
'06
4:01 a.m.
"Robert Ramey" <ramey@rrsd.com> writes:
Hmmm - one could also use BOOST_STRONG_TYPEDEF to define types so that one would write:
mpi::communicator c; std::string str("Hello, World!"); c.send(tag(0), rank(1), str); ... or tag t(0); rank r(1); c.send(t, r, str);
Just and idea.
The downside of that approach is that you still have to remember the parameter order. -- Dave Abrahams Boost Consulting www.boost-consulting.com