Archived

This topic is now archived and is closed to further replies.

Exellion

_t

Recommended Posts

Something just hit me. Why the _t after datatypes, like in size_t? I''ve seen lots of people do this, but I never gave it a thought. Well now I have and I cant figure it out. Please help :D

Share this post


Link to post
Share on other sites
It''s just a style convention, _t denoting a typedef''ed type. It would probably be a bad idea to pollute the namespace with a typedef called size, so they appended a _t to differentiate it.


Josh
vertexnormal AT linuxmail DOT org

Check out Golem at:
My cheapass website

Share this post


Link to post
Share on other sites