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

> 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

Back to the top