ambiguous std::fill with character array
Maik Beckmann
beckmann.maik@googlemail.com
Thu Mar 27 22:10:00 GMT 2008
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
More information about the Gcc-help
mailing list