
28 Mar
2004
28 Mar
'04
10:59 a.m.
"Stefan Slapeta" <stefan_nospam_@slapeta.com> wrote in message news:c469ba$ggf$1@sea.gmane.org...
[...] 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. Dave --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.581 / Virus Database: 368 - Release Date: 2/9/2004