![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
home | help | back | first | fref | pref | prev | next | nref | lref | last | post |
Is there a way to assign const *'s to structure elements, without declaring the elements as const? Most of these cases are things where a structure is assembled and passed into some routine, which doesn't modify some of the fields of the structure, but defining different structures for const- and non-const use of elements seems a bit much.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
home | help | back | first | fref | pref | prev | next | nref | lref | last | post |