|
Boost : |
From: Carl Daniel (cpdaniel_at_[hidden])
Date: 2002-08-02 15:15:41
"Gennaro Prota" <gennaro_prota_at_[hidden]> wrote in message
news:8cklku4hvdlcev2ocnffdqgfbuf5vq4ltl_at_4ax.com...
> On Fri, 2 Aug 2002 21:28:05 +0300, "Peter Dimov" <pdimov_at_[hidden]>
> wrote:
>
> AFAIK this is one of the more widespread bug in C++ implementations.
> When you give two functions of the same type, like in Peter's example,
> there are compilers which fail to link and others that link but use
> the same default arguments used for the first call (in the example, 1
> and 2). Here's a simpler example:
AFIAK, every C++ compiler in existence has this bug - but I haven't tried it
on any of the more recent GCC's, so it might be fixed there. John Spicer of
EDG confirmed to me that this is a bug that they're aware of, and it's on
their list to get fixed eventually. Likewise Jason Shirk of Microsoft - I
don't know if it's fixed in "VC7.1" or not.
-cd
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk