The members of the structure are non-const pointers to const char, hence you can assign to them.