|
Boost Users : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-02-25 07:17:44
Andy Little wrote:
> An alternative suggestion is to explicitly specify what seems to be
> the actual behaviour of arithmetic operations on int_'s, long's etc
> in the documentation. The actual behaviour seems to be that these
> functions invariably return an integral_c. It could then also be
> specified that the value_type of the result is found by applying the
> usual promotion rules to the types of each of the (non mpl::na)
> arguments. That would at least tighten up any play in the current
> specification.
Isn't this what the docs already seem to say?
http://www.boost.org/libs/mpl/doc/refmanual/plus.html
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