Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
5
Newest
 Supporter
Impact
~2k people reached

  • 0 posts edited
  • 0 helpful flags
  • 1 vote cast
Feb
16
awarded  Supporter
Sep
24
awarded  Autobiographer
Aug
29
awarded  Popular Question
Jun
20
awarded  Scholar
Jun
20
accepted How far to go with typedef'ing primitive types like int
Jun
20
comment How far to go with typedef'ing primitive types like int
I guess one reason to specify type size is when it comes to serializing, the type itself determines how it is represented in a binary stream (2 bytes for int16_t, etc). Mind you, that's more a question on int vs int16_t etc.. than whether to typedef the primitive types themselves. (EDIT: Sorry I mean the appropriate function is called based on the type itself).
Jun
20
comment How far to go with typedef'ing primitive types like int
Okay thanks :-)
Jun
20
awarded  Student
Jun
20
asked How far to go with typedef'ing primitive types like int