Thanks for your bug report. I've put it into GNATS. Without further analysis, it seems that the partial ordering of function templates does not take the default argument into account (as it should, as per 14.5.5.2/6) Regards, Martin