JackDunaway Posted October 10, 2010 Report Share Posted October 10, 2010 This is a cross-post from the Dark Side - I've searched for a while without finding any definitive discussion on this topic, so please post your thoughts over there. I have a discussion question about best practices pertaining to typedefs and class design.Background: In terms of object composition and nested data structures, it appears that Typedefs have been deprecated by classes. I have noticed that typedef'd data members of the Private Class Data Cluster are excluded from the auto-tracked Mutation History (more about Mutation History) of the class. This leads to problems versioning persistent data, and also I have seen IDE mismatches on "Bundle/Unbundle by Name" when accessing class private data after renaming typedef'd data members. Thus raises the question: Is it typically a bad idea have typedefs as data members in class private data? 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.