By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,134 Members | 1,742 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,134 IT Pros & Developers. It's quick & easy.

Structures within a Class

100+
P: 105
Hi all,

If we have a struct defined within a template class, how can we access the members of a struct defined in the class as shown in below example?Do we just access them using the object/pointer of class ?Could anyone please help me out.Thanks in advance.

Eg:
class A<T>
{
protected:
typedef struct
{
A <T> *object;
uint64 off;
uint64 dat;
}t;

};
Mar 20 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.