$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Neal D. Becker (ndbecker2_at_[hidden])
Date: 2004-08-13 07:47:16
STL defines some common arithmetic operators, such as
template<typename T>
struct plus {
T operator+(const T&, constT&);
};
There is a need for more general operators:
template<typename T1, typename T2, typename res>
struct plus {
res operator+(const T1&, constT2&);
};
For example, std::complex<double> + double -> std::complex<double>.
Has there been any discussion on this issue?