Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] C++11 Alias templates


Gesendet: Mittwoch, 18. April 2012 um 19:42 Uhr
Von: "Nathan Ridge" <zeratul976@xxxxxxxxxxx>
An: "CDT Mailing List" <cdt-dev@xxxxxxxxxxx>
Betreff: Re: [cdt-dev] C++11 Alias templates
> Hi
>
> I just realized that the C++11 feature "Alias templates" is not (jet)
> supported by CDT. Example:
>
> using counter=std::vector<size_t>;
>
> instead of
>
> typedef std::vector<size_t> counter;
>
> Are there any plans when such a feature will be added? I found that
> there is already a ticket for this issue
> ( https://bugs.eclipse.org/bugs/show_bug.cgi?id=374694 ).
>
> I would like to see it implemented very much!
>
> Thanks for any information you can give me on this!

I asked about plans for further C++11 support a while ago [1]. It seems unlikely
that alias templates will be implemented for Juno. (CDT is implementing C++11
features in the same order as GCC, and it has yet to catch up to GCC 4.6. Alias
templates were added in GCC 4.7).

I agree with you that it would be very nice to have them.

Regards,
Nate

[1] http://old.nabble.com/C%2B%2B11-support-in-Juno--td33076474.html
GCC has a status page in table form that shows which C+11 feature is already implememted.
http://gcc.gnu.org/gcc-4.7/cxx0x_status.html

How about creating such a table for CDT on its Wiki page?

  Axel

Back to the top