Re: ambiguous std::fill with character array

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

 



On Thu, Mar 27, 2008 at 6:10 PM, Maik Beckmann<beckmann.maik@xxxxxxxxxxxxxx> wrote:> 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?>
I have nothing to do with the GCC project other than lurking on thelist, so it'd probably be best for you to post the bug, since youfound it.
~ Scott

[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