strange typedef for a newbie in C++

Hi,

I am a beginner in C++ and just came across a definition that is very strange to me with characters like & > and <.
Sorry, I am not allowed to put the code here.
Please tell me what the definition is and what should I learn about this?
 
typedef a class type(say A)   < a struct type (say B), a struct type (B)& > a class type (say C);	


The definition is something like this:
 
typedef Crect < SPoint, Spoint&> CNewDefine

Where:
CRect: a class
Spoint: a struct
CNewDefine: a class
Last edited on
Do you understand templates??
Hi,
I haven't study about this.
Is it related to this?
What should I learn?
Thanks!
Could anyone give me a link so I can read up about this?
I don't know the name for search and can't search for it at all.
The definition is something like this:
 
typedef Crect < SPoint, Spoint&> CNewDefine

Where:
CRect: a class
Spoint: a struct
CNewDefine: a class

Thanks.
Last edited on
closed account (SECMoG1T)
http://cppannotations.sourceforge.net/annotations/html/cplusplus21.html
Topic archived. No new replies allowed.