[Qt-creator] Problems using c++11 features

Wilhelm wilhelm.meier at fh-kl.de
Thu Apr 4 11:36:48 CEST 2013


Am 04.04.2013 08:01, schrieb Sergey Shambir:
> Hi, Wilhelm
>
> For first problem, there are options in code style settings (tab
> Pointers&References).

Ok, but now

Data& test(Data&& x);

results in:

Data&Data::test(Data& x)
{
}

i) space in definition is removed

ii) rvalue-ref changed to lvalue-ref


>
> 04.04.2013 08:33, Wilhelm пишет:
>> Hi again,
>>
>> (I write this as top-post because of something new)
>>
>> besides the template-stuff (see below) a very annoying feature is the
>> re-formating of the reference-symbol if function-definitions are added
>> automatically:
>>
>> a declaration of
>>
>> Class& Class(const Class& other);
>>
>> gives the definition
>>
>> Class &Class(const Class &other)
>> {
>> }
>>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>


-- 
Wilhelm




More information about the Qt-creator mailing list