From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-09-23 07:25:07
From: "Thomas Witt" <witt_at_[hidden]>
> On Sunday 22 September 2002 23:12, Douglas Gregor wrote:
> > Thanks for catching this. I've added a testcase for it, and committed a
> > that _should_ be portable (about to test MSVC6...) to both the branch
> > trunk.
> The fix breaks for Intel 6.0.1 on linux. The problem is that
> intel does not find an appropriate overload when calling
> template <class T>
> void foo(T const& t);
> with a function. It compiles if foo's argument type is T&. g++-3.1.1 and
> como-22.214.171.124 compile both. I can't tell whether it is legal or not.
Currently illegal, but likely to become legal.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk