Sujet : Re: Regarding assignment to struct
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 03. May 2025, 23:46:55
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vv66cu$hbtf$1@dont-email.me>
References : 1 2
User-Agent : Pan/0.162 (Pokrosvk)
On Sat, 3 May 2025 01:14:46 -0700, Andrey Tarasevich wrote:
Virtually every C project relies on assignment of structures.
Passing-returning structs by value might be more rare (although
perfectly valid and often appropriate too), but assignment...
assignment is used by everyone everywhere without even giving it a
second thought.
There is a caveat, to do with alignment padding: will this always have a
defined value?