I'm trying to understand this answer - typedef struct vs struct definitions [duplicate]:
(Line 3): ["] In the first line you are defining the identifier S within the struct name space (not in the C++ sense). [."]
- It seems like for struct X {...};, the{...}is like an adjective forX, andX {...}is thrown into something called struct-namespace, how many struct-namespace are there in a program? Is there only one specified bystruct?
- It seems like in C/C++ struct and class are almost the same? So in C++ struct and class are both in class-namespace?
 
    