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;
};
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;
};