This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Circular Typedefs

Structs can easily have circular references:

struct ATag { struct BTag* pB; };
struct BTag { struct ATag* pA; };

Can the same thing be done with typedefs?
typedef struct { BType* pB; } AType; //???
typedef struct { AType* pA; } BType;

0