Re: [Boost-bugs] [Boost C++ Libraries] #10616: tagged_ptr assumes zero leading bits

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10616: tagged_ptr assumes zero leading bits
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-06 05:54:10


#10616: tagged_ptr assumes zero leading bits
-------------------------------+---------------------
  Reporter: nyh@… | Owner:
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: None
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------

Comment (by nyh@…):

 Another more-reliable fix is to keep one of the tag bits unchanged - i.e.,
 zero only 15 bits, not 16 bits, and then the original pointer can be
 restored by extending bit 48. But this will mean that now only 15 bits are
 available for a tag, not 16. I don't know whether this is acceptable or
 not.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10616#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:17 UTC