Structures within a Class

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mickey22
    New Member
    • Feb 2007
    • 105

    Structures within a Class

    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;

    };
Working...