Assigning a value in a struct, then can't read it in other namespace... perhaps

Assigning a value in a struct, then can't read it in other namespace ...

C++ works, you know. Your code, which you confusingly posted in different formats, neither proves nor disproves your assertion.