$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Vadim Alexandrov (vadima_at_[hidden])
Date: 2005-06-22 15:59:03
Hi,
I am using boost::tuple to accumulate results of computations. I think,
supplying operator += (-=) as operator += for each member will be nice.
Example:
tuple< int, string> abc( 3, "abc" ), de( 2, "de");
abc += de;
assert( abc.get<0>() == 5 );
assert( abc.get<1>() == "abcde" );