Re: [Boost-bugs] [Boost C++ Libraries] #11122: Bulk/Range set/unset operations

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11122: Bulk/Range set/unset operations
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-03-18 15:25:44


#11122: Bulk/Range set/unset operations
--------------------------------------+----------------------------
  Reporter: gonzalobg88@… | Owner: jsiek
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: dynamic_bitset
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+----------------------------

Comment (by gonzalobg88@…):

 Sorry, I missed a last edit. Having set and unset overloads both taking a
 value parameter makes no sense at all.

 I propose to add the following overload (just one) to the set member
 function to allow for this use case:

 std::size_t set(std::size_t from, std::size_t to, bool value = true);

 For interface symmetry one should consider set(from, to), reset(from, to),
 as well as iterator based, and range based versions, but I am not
 proposing these right now.

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