Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] code completion & C++11

On Fri, Feb 8, 2013 at 8:56 AM, Nathan Ridge <zeratul976@xxxxxxxxxxx> wrote:

> Apart from that, is there a general policy about how CDT reacts when the expected behavior of different standards is contradicting? Like the access to other nested classes as in the attached example?
> Regards
> Thomas

Perhaps we can introduce a C++11 flag to the indexer settings?

I think this would be useful in other contexts too. For example,
if the flag was checked, the 'extract local variable' refactoring
could make the type of the extracted variable 'auto' in cases
where the explicit type name is not known.

Yes, we need a refactoring preference for use of 'auto' with three possible values: always, when necessary and never.



cdt-dev mailing list

Back to the top