This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: ambiguous std::fill with character array
Am Donnerstag 27 MÃrz 2008 23:04:21 schrieb me22:
> Bug. Your solution is likely faster than the original, but both should
> work.
>
> Judging by the error message, you found a very neat case where the
> enable_if is both true and false, thanks to the implicit conversion
> from char const[4] to char const*, so SFINAE can't prevent either
> instantiation, leading to the ambiguity.
Ok.
Will you take care of it or should I file a bug report?
-- Maik