Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:endian_template [2016/02/26] – [History] terence | projects:endian_template [2016/02/26] (current) – [Q & A] terence | ||
---|---|---|---|
Line 7: | Line 7: | ||
* **Author:** [[mailto: | * **Author:** [[mailto: | ||
* **License: | * **License: | ||
- | * **Last Update:** 2016-02-23 | + | * **Last Update:** 2016-02-26 |
* **Donate:** [[: | * **Donate:** [[: | ||
Line 16: | Line 16: | ||
After downloading, | After downloading, | ||
- | * Latest version: [[https:// | + | * Latest version: [[https:// |
===== About ===== | ===== About ===== | ||
Line 129: | Line 129: | ||
//If you have a question not answered here, please feel free to [[mailto: | //If you have a question not answered here, please feel free to [[mailto: | ||
- | //No questions so far!// | + | === vs Boost? === |
+ | * **Q:** What makes this better or different than [[http:// | ||
+ | * **A:** I can't say for certain if it's better. The Endian Template is small, and only provides a minimum of what's needed to handle automatic endian conversion. | ||
+ | |||
+ | As I understand it Boost.Endian provides three different mechanisms for handling endian (one providing swapping functions), whereas my primary philosophy here is " | ||
+ | |||
+ | Just for trivia: I originally created this class in 2001 as a proof-of-concept, | ||
+ | This predates when Boost.Endian came out, which was around 2002 or 2003. | ||
+ | |||
+ | That said, I've used boost (in general) before on a day-to-day basis for a client project. I'm not a boost " | ||
===== History ===== | ===== History ===== | ||
**February 26, 2016** | **February 26, 2016** | ||
- | * Renamed typedefs without '' | + | * Renamed typedefs without '' |
- | * Added required includes directly into '' | + | * Added required includes directly into '' |
+ | * Changed endian testing method to use reinterpret_cast, | ||
+ | * Removed ::PassThru method as a small optimization | ||
**February 23, 2016** | **February 23, 2016** | ||
Line 142: | Line 153: | ||
* First public release | * First public release | ||
* Created project page | * Created project page | ||
- |