On 17.9.2012 16:52, Ján Veselý wrote:
> That is the point. If a function takes const type * as an argument, it
> indicates that it does not modify the instance.

I hope I am not misguided, but I think this is simply not true when put
like that. I believe it only indicates it will not modify the instance
using _that_ const type * pointer, but does not indicate it will not
modify it using another non-const pointers. This is also the reason
behind my doubts about the first mail.

Jakub

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/cgi-bin/listinfo/helenos-devel

Reply via email to