Re: [Boost-bugs] [Boost C++ Libraries] #9235: Construction from binary data

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9235: Construction from binary data
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-02-26 11:59:17


#9235: Construction from binary data
-------------------------------+----------------------------
  Reporter: psiha | Owner: johnmaddock
      Type: Feature Requests | Status: closed
 Milestone: To Be Determined | Component: multiprecision
   Version: Boost 1.54.0 | Severity: Optimization
Resolution: fixed | Keywords:
-------------------------------+----------------------------
Changes (by johnmaddock):

 * status: reopened => closed
 * resolution: => fixed

Comment:

 Please see
 https://github.com/boostorg/multiprecision/commit/53515e9a960e4e7bdfa8f2e6d05ccb174d66bf4d.

 Note this is import only, which I think fixes your use case. Export via
 memcpy to an output iterator is unsafe and not implemented. I could
 provide a separate interface for that, but I'd like to see a genuine need
 for high-speed-export first.

 In any case, use of user-defined-literals (which is all constexpr) is the
 better solution for your use case, although I accept that's not supported
 on msvc yet :(

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