From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-01-26 11:46:16
From: "Samuel Krempp" <krempp_at_[hidden]>
> On Fri, 2002-01-25 at 19:50, Peter Dimov wrote:
> > > What is known for sure, is that gcc and comeau both accepts the
> > > following :
> > Yes, you are right. I remember this being reported as ambiguous by the
> > front end but this must have been an older version.
> > In any event, the active issue still has no resolution.
> > http://std.dkuug.dk/jtc1/sc22/wg21/docs/cwg_active.html#214
> Is it safe to assume that when the issue will be closed, the
> T& / T const& overloads will be uncontestably accepted by the standard,
> or is it likely to be the opposite ?
I don't know; however, if you don't need "full forwarding" (i.e. non-const
arguments) but only have problems with function types passed by const
reference, this issue:
will probably solve the problem.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk