新機能の弊害
template < int... Indexes >
static constexpr bitset_base
left_shift_impl (bitset_base const& lhs, std::size_t wshift, std::size_t offset, index_tuple<Indexes...>)
{
return bitset_base
((
(Indexes >= wshift ? lhs.w_[Indexes - wshift] << offset : static_cast<word_type>(0))
| (Indexes > wshift ? lhs.w_[Indexes - wshift - 1] >> (detail::bit_length_of<word_type>::value - offset) : static_cast<word_type>(0))
)...);
}
まだコメントがありません。最初にコメントを残しませんか?