[Boost-bugs] [Boost C++ Libraries] #2172: dynamic_bitset constructor problem

Subject: [Boost-bugs] [Boost C++ Libraries] #2172: dynamic_bitset constructor problem
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-08-06 07:22:57


#2172: dynamic_bitset constructor problem
------------------------------+---------------------------------------------
 Reporter: rick68_at_[hidden] | Owner: jsiek
     Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: dynamic_bitset
  Version: Boost 1.35.0 | Severity: Problem
 Keywords: constructor |
------------------------------+---------------------------------------------
 Two constiructors in dynamic_bitset:

 ============================================
 dynamic_bitset(size_type num_bits, unsigned long value = 0,
 const Allocator& alloc = Allocator())

 and

 template <typename BlockInputIterator>
 dynamic_bitset(BlockInputIterator first, BlockInputIterator last,
 const Allocator& alloc = Allocator())
 ============================================

 If I want to create dynamic_bitset object with 8 bits and default value
 0x07 ("dynamic_bitset(8, 0x07)"), that will use second constructor, not
 first.

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2172>
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:49:58 UTC