Original Post
When using C++ is there any advantage/disadvantage of using a class with no member functions just public data, over using a struct? I mean you can add stuff easily to a class if somthing pops up in the future, like the need to add a member function. But is there anything really different between the following?
typedef struct tData_tag
{
int someData;
} tData;
and...
class CData
{
public:
int someData;
}