Commit Graph
49 Commits
Author SHA1 Message Date
Beman 84faaa7bbf Rename the conversion functions to discourage unthinking use of the in-place versions as these are unsafe in that they effectively break the type system by treating the buffer as an undescriminated union. Remove the synonym functions based on names popularized by BSD, OS X, and Linux since these are permitted to be implemented as macros, which would cause endless difficulties if encountered. 2014-11-20 15:38:25 -05:00
Beman 8a9ea6747d Preliminary doc changes to reflect addition of buffers. 2014-11-19 15:58:15 -05:00
Beman 31f930330d Refine "Choosing between endian types and endian conversion functions" docs. 2014-11-14 09:52:44 -05:00
Beman c755a6b6af Add overall css style sheet for more uniform presentation and ease of maintenance. 2014-11-12 08:26:01 -05:00
Beman c41521cead For the endian types, add stream inserters and extractors as requested during the formal review. 2014-11-11 21:08:08 -05:00
Beman a1be441f8f Initial commit 2014-11-11 10:50:12 -05:00
Beman 4cfeb52325 Fix broken link. 2014-08-15 13:11:37 -04:00
Beman e2e99a2e43 Rename to meet boost file name guidelines. 2014-08-15 12:59:23 -04:00
Beman f489fad5e0 Also add aligned float types. Add docs. No tests yet. 2014-08-13 13:44:28 -04:00
Beman 62943e150e Do a pass through docs, bringing up to date where needed. 2014-08-12 10:34:37 -04:00
Beman 05ac935450 Update done list. 2014-05-16 17:15:01 -06:00
Beman 8c36890e77 Test and doc updates for Pierre Talbot's int8_t/uint8_t reverse_value() and templated reverse() patch. 2014-04-16 13:52:24 -04:00
Beman d339470e6e Remove "explicit" from Endian type constructors. Rationale: Having to write "cntr.insert(big_int32_t(value))" instead of "cntr.insert(value)" gets old fast when you are writing application code and the use case arises more or less continuously. Additionally, the use of an endian type is an implementation detail that should not leak into the application code that needs to create values of the type. Furthermore, the ambiguities that caused the constructors to be made explicit no longer occur; they were eliminated when BOOST_MINIMAL_INTEGER_COVER_OPERATORS was introduced to removed a dependency on boost/operators.hpp. If an ambiguity does arise, it is easy to clear via a static_cast or a function-style cast. 2013-09-06 10:36:54 -04:00
Beman 22728f62e2 Add breaking changes heads up 2013-09-01 09:10:00 -04:00
Beman 016d3b2e7c Rename the endian typedefs. Rationale: Subjective - during three months working on the B-tree library, the *un_t names were a constant source of irritation. Objective - the new scheme, which reverts the *un_t names to having no alignment decoration, provides consistent *_align* decoration for both FP and integer types. Also, the library now provides conversion functions which may reduce use of aligned endian types. 2013-09-01 08:40:32 -04:00
Beman a40d580782 Get 64-bit builds working. Update timings to reflect 64-bit build. 2013-06-06 08:00:28 -04:00
Beman 944bf285fa Alignment of 64-bit integers on a 32-bit system may be to a 32-bit boundary! 2013-05-30 10:07:43 -04:00
Beman 2fee60f99b Copy from README 2013-05-29 10:37:44 -04:00
Beman db3864b3d4 Fix boo boos detected by inspect program. 2013-05-29 09:40:35 -04:00
Beman 457ed73778 Add more UDT use examples. Link to UDT example in conversion function docs. 2013-05-29 09:04:31 -04:00
Beman 530dbb679b Fix broken links, tweak content. 2013-05-28 21:33:07 -04:00
Beman d188b81207 Spacing and minor content tweak. 2013-05-28 21:11:18 -04:00
Beman 4ed706be76 FAQ corrections. 2013-05-28 20:52:42 -04:00
Beman e6ca50a6a7 Switch to inline style sheet 2013-05-28 17:06:32 -04:00
Beman 6c7e94ad15 Add a bit more explanation of examples. Add Release history. 2013-05-28 16:33:59 -04:00
Beman b541dfb790 Last pass through docs 2013-05-28 11:04:03 -04:00
Beman 9c25d54d38 Finalize index.html discussion. 2013-05-28 09:42:04 -04:00
Beman 01eba9b491 Add timing tables. 2013-05-28 08:02:56 -04:00
Beman a55a44c67b Loop test time work in progress. 2013-05-28 07:37:52 -04:00
Beman 50b5488997 loop_time_test current work-in-progress 2013-05-27 08:53:18 -04:00
Beman 7f9d91e6d2 Rename unaligned integers to fit the floating point pattern. Unifies the naming pattern, deliberately makes the unaligned type names a bit uglier. 2013-05-26 12:05:33 -04:00
Beman dff7c1254e Add unaligned floating point types and supporting infrastructure. 2013-05-26 08:25:10 -04:00
Beman a7ba65f830 Implement, test, float and double endian types. 2013-05-25 12:16:32 -04:00
Beman 41f0c15844 Initial done_list.html. Improve general FAQ. Update example. Add BOOST_NOEXCEPT to types.hpp and cover_operators.hpp. 2013-05-22 13:26:51 -04:00
Beman 6f84684e9e Add separate big and little specializations for aligned case; the attempt to combine into a single specialization was selecting the unaligned specialization. Rework speed_test to try to get more meaningful results and cover more test cases. 2013-05-22 08:14:51 -04:00
Beman ddb5936b68 Yet another naming scheme for type synonyms. Aligned type names now exactly follow the <cstdint> pattern, while the unaligned names elide "int". 2013-05-21 07:56:27 -04:00
Beman c1dff8958c Continue doc refinement. 2013-05-20 15:04:33 -04:00
Beman ecaabbeba4 Rename integers.html to types.html, mimicing the rename of the header. 2013-05-20 09:12:00 -04:00
Beman f13a9cd6a4 Rename integers.hpp to types.hpp in case floating point is someday supported. 2013-05-20 09:07:01 -04:00
Beman ee750c0ec8 Minor edits to conversion docs. Edits plus add Advantages table to index.html. 2013-05-20 08:47:38 -04:00
Beman 6130c5f84c Continue refinement of specs. Add to FAQ. Create function group bookmarks and link to them. 2013-05-19 17:08:42 -04:00
Beman 29d65d2e2f Add FAQ. Update Acknowledgments. Supply ReversibleValue and Reversible requirements. 2013-05-19 11:07:33 -04:00
Beman e4a92a56b0 Semantics complete. 2013-05-19 08:26:09 -04:00
Beman 0eb9d41ab6 Complete synopsis update. 2013-05-18 17:10:00 -04:00
Beman ac46dae0cc Start rework of synopsis. 2013-05-18 16:53:27 -04:00
Beman 28c5869fa7 Add do-list item fixing <boost/detail/endian.hpp> licensing issue. 2013-03-25 08:27:37 -04:00
Beman d131123327 Directory reorg to follow Boost Git practice. 2013-03-18 14:57:23 -04:00
bemandawes ce427e1ba7 No longer needed as install procedure is changing
git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@72119 b8fc166d-592f-0410-95f2-cb63ce0dd405
2011-05-23 12:48:36 +00:00
bemandawes f0e141f087 Endian: add endian_io.hpp, endian_hello_world.cpp, scoped_enum_emulation_test.cpp
git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@51735 b8fc166d-592f-0410-95f2-cb63ce0dd405
2009-03-12 15:35:35 +00:00