|
Boost : |
From: Philippe Mori (philippe_mori_at_[hidden])
Date: 2005-04-28 11:23:26
>>
>> ?? The return type of the generated operators is perfectly well
>> visible in the documentation.
> The documentation (http://www.boost.org/libs/utility/operators.htm) says
> that the operators return "convertible to T".
I think that the user will expect that the prototype of function
match exactly those in table...
Also, as far as I understand convertible to T is a requirement
for the implementation... and in fact it does says nothing as
the requirement are (generally) in the form
T temp(*this);
temp op= u; // +=, -=, ...
and is complete by itself.
Philippe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk