Date: Fri, 27 Sep 2019 22:33:14 +1000
This is a proposal. Steps here: https://isocpp.org/std/submit-a-proposal
On Fri, Sep 27, 2019 at 10:02 PM Vladimir Grigoriev via Std-Discussion <
std-discussion_at_[hidden]> wrote:
> Similar to the usual arithmetic conversions the operators of the standard
> class std::bitset should be templated.with different sizes
>
> For example
>
> template<size_t N1, size_t N2>
> bitset<std::max( N1, N2 )> operator &( const bitset<N1> &, const
> bitset<N2> & ) noexcept;
>
> Or
>
> template <size_t M>
> bitset<N> & operator &=( const bitset<M> & rhs) noexcept;
>
> With best regards,
> Vlad from Moscow
>
> You can meet me at http://cpp.forum24.ru/ or www.stackoverflow.com or
> http://ru.stackoverflow.com
> --
> Std-Discussion mailing list
> Std-Discussion_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-discussion
>
On Fri, Sep 27, 2019 at 10:02 PM Vladimir Grigoriev via Std-Discussion <
std-discussion_at_[hidden]> wrote:
> Similar to the usual arithmetic conversions the operators of the standard
> class std::bitset should be templated.with different sizes
>
> For example
>
> template<size_t N1, size_t N2>
> bitset<std::max( N1, N2 )> operator &( const bitset<N1> &, const
> bitset<N2> & ) noexcept;
>
> Or
>
> template <size_t M>
> bitset<N> & operator &=( const bitset<M> & rhs) noexcept;
>
> With best regards,
> Vlad from Moscow
>
> You can meet me at http://cpp.forum24.ru/ or www.stackoverflow.com or
> http://ru.stackoverflow.com
> --
> Std-Discussion mailing list
> Std-Discussion_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-discussion
>
Received on 2019-09-27 07:35:36