Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2004-03-28 05:59:54

"Stefan Slapeta" <stefan_nospam__at_[hidden]> wrote in message
> [...]
> Which f should be called here?
> [...]

If I recall correctly, normal functions are always considered before
template functions during overload resolution. I guess the question
is whether const char* == char[10] for the purposes of overload
resolution. I think it does, so I believe the first one should be called.
Unfortunately, I don't have my copy of C++ Templates handy, so I
can't look it up.


Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.581 / Virus Database: 368 - Release Date: 2/9/2004

Boost list run by bdawes at, gregod at, cpdaniel at, john at