Re: [Boost-bugs] [Boost C++ Libraries] #5198: 64 bit issue in address_v4::broadcast() with to_ulong()

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5198: 64 bit issue in address_v4::broadcast() with to_ulong()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-02-17 06:44:49


#5198: 64 bit issue in address_v4::broadcast() with to_ulong()
-------------------------------+--------------------------------------------
  Reporter: arvid@… | Owner: chris_kohlhoff
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: asio
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by arvid@…):

 The code snipped didn't end up as I intended, here it is again:

 {{{
 142 address_v4 address_v4::broadcast(const address_v4& addr, const
 address_v4& mask)
 143 {
 144 return address_v4(addr.to_ulong() | ~mask.to_ulong());
 145 }
 }}}

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