vreverdy / bit

The Bit Library
BSD 3-Clause "New" or "Revised" License
58 stars 9 forks source link

bit_reference::operator= requires clause not needed #12

Closed viboes closed 6 years ago

viboes commented 7 years ago

I believe that in 1.5.4


template <class T> constexpr bit_reference& operator=(const bit_reference<T>& other) noexcept;
4 Requires: is_convertible_v<T&, word_type&> == true

the requires clause is not needed, as we are just copying the value.

vreverdy commented 6 years ago

Good catch! Just fixed.