On 09/09/2012 01:16 AM, Namespace wrote: > Why fail this code? > without "const" on "Name" it works fine. > > http://dpaste.dzfl.pl/9fa0986a const fields cannot be written to. This includes the case when the entire struct is written to at once.