How do we deal with the C++ struct in UML class diagrams.
Should I consider it as a class with the stereotype <<Struct>>
?
And if this struct has a pointer to the struct type itself, what is the relationship between the struct and it self?
"How do we deal with the C++ struct in UML class diagrams?"
structs behave like Classes in UML but all of their members are public.
"...if this struct has a pointer to the struct type itself, what is the relationship between the struct and it self?" - Self referential. It has a pointer to itself. Answered here.
Google searching is a brilliant thing :). Hope this answers your question. If you have any more, just drop a comment.