Jump to content

Enhance Sourceboost With Inttypes For Better Integer Types


Recommended Posts

Support for inttypes.h from the C99 standard.

http://en.wikipedia.org/wiki/Inttypes.h#Fixed-width_integer_types

 

 

The biggest advantage from the types is their more well-defined behaviour.

Avoiding nasty surprises which can be very important in embedded design.

 

The inclusion of inttypes would allow writing shorter and more self-explanatory code.

The new types would allow more stability (and portability) since the sizes are not implementation defined. Encourages reusable and stable code for e.g. drivers.

 

Minimally the exact width integer types is all that's needed.

Edited by Peter Trypsteen
Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...