Re: [Boost-bugs] [Boost C++ Libraries] #11286: Code in boost/endian/buffers.hpp violates old C++03 Standard

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11286: Code in boost/endian/buffers.hpp violates old C++03 Standard
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-11 21:33:15


#11286: Code in boost/endian/buffers.hpp violates old C++03 Standard
-------------------------------+------------------------
  Reporter: Sergey.Sprogis@… | Owner: bemandawes
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: endian
   Version: Boost 1.58.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+------------------------

Comment (by Sergey.Sprogis@…):

 After filing this ticket I realized that I was not quite right about
 header itself.

 Actually boost/endian/buffers.hpp code is good, because it only contains

 endian_buffer & operator=(T val)

 but the real issue is inside libs/endian/test/endian_in_union_test.cpp
 test itself
 which contains 'union U'
 Based on this, the fix should be pretty easy: just to put all those unions
 under
 some NO_CXX11 macro. Only I'm not sure which one is currently most
 suitable for
 that kind of differences. May be a new one should created?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11286#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC