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-07-27 14:13:09


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

 * status: new => closed
 * resolution: => invalid

Comment:

 This is not a bug in endian_in_union_test.cpp.

 This is a error caused by a bug in an older version of the compiler. It
 confused user-defined assignment with user-defined copy assignment, which
 is what is actually prohibited. This was a bug in some older versions of
 GCC that has since been fixed.

 The test passes for modern gcc, clang, and msvc compilers in -std=c++03
 mode.

 --Beman

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11286#comment:2>
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