|
Boost : |
From: vesa_karvonen (vesa_karvonen_at_[hidden])
Date: 2002-02-19 06:43:30
--- In boost_at_y..., "Greg Colvin" <gcolvin_at_u...> wrote:
> And of course, having gotten rid of implicit int, we don't need a
> keyword at all:
[...]
> Or even easier:
>
> operator+(t, s) { // type of t and s are implicit
> v = t+s; // type of v is implicit
> return v; // return type is implicit
> }
> >
Have you considered this legal C++ syntax:
return_type operator+(lhs_type, rhs_type)
{
//...
}
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk