| JiiPee <kerrttuPoistaTama11@gmail.com>: Sep 25 12:44AM +0300 On 24/09/2022 23:04, Paavo Helde wrote: > well-written C code it should be only manipulated via dedicated access > functions, never directly. The C programmers are trusted to follow such > rules. I would prefer this. One can just be careful not to modify it. |
| JiiPee <kerrttuPoistaTama11@gmail.com>: Sep 25 12:47AM +0300 On 24/09/2022 22:29, Gawr Gura wrote: > but they don't provide any real > guarantee against outside manipulation. If someone really wants to > modify your object they can always convert it to a char array and fiddle > with it. Sure, although in my 30 years C++ I don't remember ever facing this problem. It is quite difficult to accidentally do this. |
| You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com. |
No comments:
Post a Comment