220 13422 <113390b2-9c74-47e2-a943-5d27dd48bdf1@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: ricky.65@hotmail.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Proposal: Strongly Typed Bitset
Date: Wed, 1 Oct 2014 06:17:36 -0700 (PDT)
Lines: 92
Approved: news@gmane.org
Message-ID: <113390b2-9c74-47e2-a943-5d27dd48bdf1@isocpp.org>
References: <f77c8cc7-64f6-4d3b-9a10-8a5ee5f2254d@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_433_1632799244.1412169456650"
X-Trace: ger.gmane.org 1412169465 11237 80.91.229.3 (1 Oct 2014 13:17:45 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 1 Oct 2014 13:17:45 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDIITWUOTQNRB4P5V6QQKGQE34VLODI@isocpp.org Wed Oct 01 15:17:39 2014
Return-path: <std-proposals+bncBDIITWUOTQNRB4P5V6QQKGQE34VLODI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pa0-f71.google.com ([209.85.220.71])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDIITWUOTQNRB4P5V6QQKGQE34VLODI@isocpp.org>)
	id 1XZJml-0000EN-BI
	for gclcip-std-proposals@m.gmane.org; Wed, 01 Oct 2014 15:17:39 +0200
Original-Received: by mail-pa0-f71.google.com with SMTP id rd3sf4967771pab.10
        for <gclcip-std-proposals@m.gmane.org>; Wed, 01 Oct 2014 06:17:38 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe:content-type;
        bh=hNCz1p2ExPhT0rRAn2vwJDKGsNdS87euqwdrBDuJiF0=;
        b=WmIzK0kcYZedFIXlJz9gjH2tyFqhmJPmxGInx3rZqeEPonJ0iIsmJ2jB4SHjDmZirt
         DCYo3/5l/mNyoxKdT8fqkRHbU570tjjpb6tRt3+uqneDNWEtgWbNkA/mepqMAaYQayqI
         i75iGooNyHrQic/A5pNkJWJpGQGPXlbNiBI0eck6Yrs+lVfQEZ6CxrBukvVLJNy6mqgV
         B1zwVa8VWpKIa2WuspiaCH5tbQPwMIsS0Q2p4fLJQlASFMPL93Rbg5AEmb9fToDprXec
         nruv0Wqk9Tw4A9R/xfqEL1RjGrW2hXY87+z1qZqdw/wF16Xm/EgJbH/byP6yfcs/Tjud
         0ZsQ==
X-Gm-Message-State: ALoCoQkcgPO3o7Je2jMeWnw4p3cakC+CuwivD6JhjM7Ijxs9cdnerbhSSOeNBneFUsFXF03wLSUC
X-Received: by 10.68.247.138 with SMTP id ye10mr45105528pbc.6.1412169457922;
        Wed, 01 Oct 2014 06:17:37 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.82.11 with SMTP id g11ls455629qgd.29.gmail; Wed, 01 Oct
 2014 06:17:37 -0700 (PDT)
X-Received: by 10.140.97.131 with SMTP id m3mr4241qge.28.1412169457125;
        Wed, 01 Oct 2014 06:17:37 -0700 (PDT)
In-Reply-To: <f77c8cc7-64f6-4d3b-9a10-8a5ee5f2254d@isocpp.org>
X-Original-Sender: ricky.65@hotmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:13422
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/13422>

------=_Part_433_1632799244.1412169456650
Content-Type: text/plain; charset=UTF-8

I welcome this proposal as I feel that it is useful to be able to specify 
the underlying integral type used for std::bitset.

However, I am dubious about the implementator guide of optimizing for speed 
over size. In contrast, some may prefer to optimize for size over speed.

Incidentally, this proposal would make std::bitset consistent with 
boost::dynamic_bitset which has an analogous template parameter to specify 
the unsigned integer type in which the bits are stored. It uses "unsigned 
long" as a default.

- Riccardo 

On Wednesday, October 1, 2014 12:58:01 AM UTC+1, Matthew Fioravante wrote:
>
> Continued from this thread:
>
> https://groups.google.com/a/isocpp.org/forum/#!topic/std-proposals/UjNcLLrGwv8
>
> Here is the first draft of the proposal:
> https://github.com/fmatthew5876/stdcxx-bitset
>

-- 

--- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

------=_Part_433_1632799244.1412169456650
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I welcome this proposal as I feel that it is useful t=
o be able to specify the underlying integral type used for std::bitset.</di=
v><div><br></div><div>However, I am dubious about the implementator guide o=
f optimizing for speed over size.&nbsp;<span style=3D"font-size:11.0pt;line=
-height:115%;
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;mso-ascii-theme-font=
:minor-latin;mso-fareast-font-family:
Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin=
;
mso-bidi-font-family:&quot;Times New Roman&quot;;mso-bidi-theme-font:minor-=
bidi;
mso-ansi-language:EN-GB;mso-fareast-language:EN-US;mso-bidi-language:AR-SA"=
>In contrast</span>, some may prefer to optimize for size over speed.</div>=
<div><br></div><div>Incidentally, this proposal would make std::bitset cons=
istent with boost::dynamic_bitset which has an analogous template parameter=
 to specify the unsigned integer type in which the bits are stored. It uses=
 "unsigned long" as a default.</div><div><br></div><div>- Riccardo&nbsp;</d=
iv><br>On Wednesday, October 1, 2014 12:58:01 AM UTC+1, Matthew Fioravante =
wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8=
ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr">Continu=
ed from this thread:<div><a href=3D"https://groups.google.com/a/isocpp.org/=
forum/#!topic/std-proposals/UjNcLLrGwv8" target=3D"_blank" onmousedown=3D"t=
his.href=3D'https://groups.google.com/a/isocpp.org/forum/#!topic/std-propos=
als/UjNcLLrGwv8';return true;" onclick=3D"this.href=3D'https://groups.googl=
e.com/a/isocpp.org/forum/#!topic/std-proposals/UjNcLLrGwv8';return true;">h=
ttps://groups.google.com/a/<wbr>isocpp.org/forum/#!topic/std-<wbr>proposals=
/UjNcLLrGwv8</a><br></div><div><br></div><div>Here is the first draft of th=
e proposal:</div><div><a href=3D"https://github.com/fmatthew5876/stdcxx-bit=
set" target=3D"_blank" onmousedown=3D"this.href=3D'https://www.google.com/u=
rl?q\75https%3A%2F%2Fgithub.com%2Ffmatthew5876%2Fstdcxx-bitset\46sa\75D\46s=
ntz\0751\46usg\75AFQjCNHe7yx1OgkRdixUpV-jYB3xrRtOkQ';return true;" onclick=
=3D"this.href=3D'https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2F=
fmatthew5876%2Fstdcxx-bitset\46sa\75D\46sntz\0751\46usg\75AFQjCNHe7yx1OgkRd=
ixUpV-jYB3xrRtOkQ';return true;">https://github.com/<wbr>fmatthew5876/stdcx=
x-bitset</a><br></div></div></blockquote></div>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_433_1632799244.1412169456650--

.
