Re: ambiguous std::fill with character array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux