Jump to content
  • Advertisement

Archived

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

Exellion

_t

This topic is 5400 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!