_t

Started by
0 comments, last by Exellion 20 years, 8 months ago
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
Advertisement
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

This topic is closed to new replies.

Advertisement