Re: Default argument for templatized function

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

 



Adrian Bentley <adruab@xxxxxxxxx> writes:
[snip]
> Without the functionality of deriving the template for a default
> argument,
> which seems pretty straight forward to me by the way, it makes that a
> fairly
> gross limitation of gcc

It is not a limitation of gcc. It is a limitation of ISO C++ . See
    14.8.2.4/17 .

> (lack of function specialization

Function specialization works fine in gcc. Note ISO C++ does not allow
    *partial* specialization of function templates.

[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