Change the specification for native ordering to allow implementations to support orderings in addition to big and little. Thanks to Howard Hinnant for suggesting this change and providing draft wording. Also update headers to reflect actual inclusion hierarchy.

This commit is contained in:
Beman committed 2015-10-16 10:30:34 -04:00
1 parent 5c26514ded
commit f14f080359
5 files changed
+59 -54

No files matched your search

-3
View File
@@ -23,7 +23,6 @@ namespace boost
{
namespace endian
{
#ifndef BOOST_ENDIAN_ORDER_ENUM_DEFINED
BOOST_SCOPED_ENUM_START(order)
{
big, little,
@@ -33,8 +32,6 @@ namespace endian
native = little
# endif
}; BOOST_SCOPED_ENUM_END
# define BOOST_ENDIAN_ORDER_ENUM_DEFINED
#endif
//--------------------------------------------------------------------------------------//
// //