C++ Logo

std-discussion

Advanced search

Re: Templated operators for std::bitset

From: Andrew Tomazos <andrewtomazos_at_[hidden]>
Date: Sat, 28 Sep 2019 00:19:44 +1000
P.S. This is std-discussion not std-proposals.

On Sat, Sep 28, 2019 at 12:15 AM Andrew Tomazos <andrewtomazos_at_[hidden]>
wrote:

> STEP 1 Float the idea. Post an initial brief description of your feature
> on the std-proposals forum
> <http://groups.google.com/a/isocpp.org/forum/?fromgroups#!forum/std-proposals>, including
> especially the problem it solves and alternatives considered. Committee
> members and other interested experts will be able to give you feedback to
> let you gauge the level of interest in that kind of feature in general, and
> also feedback on your specific proposal’s approach to it in particular to
> help you refine it in the next step. (Note: You will need to follow the
> std-proposals forum by email subscription or via the web forum in order to
> see and participate in the discussion.)
>
> On Fri, Sep 27, 2019 at 10:45 PM Vladimir Grigoriev via Std-Discussion <
> std-discussion_at_[hidden]> wrote:
>
>> Before submitting a proposal it is interesting to know everyone's
>> opinion.:)
>>
>> With best regards,
>> Vlad from Moscow
>>
>> You can meet me at http://cpp.forum24.ru/ or www.stackoverflow.com or
>> http://ru.stackoverflow.com
>>
>> Пятница, 27 сентября 2019, 15:33 +03:00 от Andrew Tomazos <
>> andrewtomazos_at_[hidden]>:
>>
>> 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]
>> <//e.mail.ru/compose/?mailto=mailto%3astd%2ddiscussion_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]
>> <//e.mail.ru/compose/?mailto=mailto%3aStd%2dDiscussion_at_[hidden]>
>> https://lists.isocpp.org/mailman/listinfo.cgi/std-discussion
>>
>>
>> --
>> Std-Discussion mailing list
>> Std-Discussion_at_[hidden]
>> https://lists.isocpp.org/mailman/listinfo.cgi/std-discussion
>>
>

Received on 2019-09-27 09:22:06