id summary reporter owner description type status milestone component version severity resolution keywords cc 11390 Wrong type in dynamic_bitset::reference constructor stefan.atev@… jsiek "When compiling with visual studio 2013, the following warning is issued (and since we treat these as errors, fails the compilation): boost/dynamic_bitset/dynamic_bitset.hpp(298): warning C4267: 'argument' : conversion from 'size_t' to 'unsigned long', possible loss of data The culprit is the reference constructor: reference(block_type & b, block_type pos) which should be: reference(block_type & b, block_width_type pos) used in the non-const accessor: reference operator[](size_type pos) { return reference(m_bits[block_index(pos)], bit_index(pos)); } bit_index() is defined as returning block_width_type, not block_type (which may be narrower). The const accessor works as expected and is a possible workaround when read-only access is required from a non-const bitset." Bugs new To Be Determined dynamic_bitset Boost 1.58.0 Problem