RValue reference support

Milian Wolff mail at milianw.de
Fri Jun 3 13:41:04 UTC 2011


David Nolden, 03.06.2011:
> 2011/6/2 Milian Wolff <mail at milianw.de>:
> > PS: anything wrong with my other commits, have you had time to review
> > them (partially) ?
> 
> Not thorougly, but it looked ok.
> 
> Regarding the ReferenceType extension: Actually, for consistency and
> memory-saving, it would be better if you would add a modifier
> "AbstractType::IsRValueModifier", equal to
> "AbstractType::ConstModifier". This would reduce the size of
> ReferenceTypeData by 4 bytes, and it would generally allow flagging
> any types as RValues, which _might_ become useful in future. As for
> the uglyness of using the modifiers, I think we should add some helper
> overloads like "bool AbstractType::isRValue() const { return
> d_func()->m_modifiers & IsRValueModifier; }" and "setIsRValue" (the
> same for ConstModifier).

ok, put it on my TODO.

bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110603/5c7cfb20/attachment.sig>


More information about the KDevelop-devel mailing list