Hello Jacob,

On 2010-06-28 02:28, BCS wrote:

One solution would be to have templates strip off const/immutable
from the top level of args.

[...]
This solution would match the proposal that popped up a while ago to
allow value assignment from const/immutable to mutable.

I don't think I understand what you're showing here. How would I strip
off the const/immutable with a template ?


I was proposing a language change Sorry for any confusion. The idea is that unless the user ask for it explicitly, there is no particular reason to preserve const/immutable for the value portion (true value types and the first level of references/pointers) of arguments.

--
... <IXOYE><



Reply via email to