220 32079 <8d3f00ec-78b6-4b58-af90-8d91e382fec1@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Nicol Bolas <jmckesson@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: why std::random_device::result_type isnt
 implementation-defined or std::size_t?
Date: Tue, 11 Apr 2017 15:12:42 -0700 (PDT)
Lines: 60
Approved: news@gmane.org
Message-ID: <8d3f00ec-78b6-4b58-af90-8d91e382fec1@isocpp.org>
References: <eac94f80-d2f9-47e7-b73d-b8280be153bd@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1244_886921538.1491948762499"
X-Trace: blaine.gmane.org 1491948763 29567 195.159.176.226 (11 Apr 2017 22:12:43 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Tue, 11 Apr 2017 22:12:43 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCEKFTV6ZUMBBW5JWXDQKGQE5BWY6YQ@isocpp.org Wed Apr 12 00:12:38 2017
Return-path: <std-proposals+bncBCEKFTV6ZUMBBW5JWXDQKGQE5BWY6YQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yb0-f200.google.com ([209.85.213.200])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCEKFTV6ZUMBBW5JWXDQKGQE5BWY6YQ@isocpp.org>)
	id 1cy41e-0007am-DT
	for gclcip-std-proposals@m.gmane.org; Wed, 12 Apr 2017 00:12:38 +0200
Original-Received: by mail-yb0-f200.google.com with SMTP id 206sf4154327ybe.11
        for <gclcip-std-proposals@m.gmane.org>; Tue, 11 Apr 2017 15:12:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=BXHM/qzzxwkwyakq1q2/JQYcNRVYPpVhI+BaWsvrXco=;
        b=qqPWy5Fyux4c6yYQ68jd/VUzeBiFbJKS0fuVZnSKYsooFtWUj9BHIatSz4amjfgZo5
         FCdHItUd+vC2tGNQ1HHDhT40beMxk9WJAs0QWbS9FEsYHleoKCMN/CV9fM+uXsLFfigs
         8PdfVJYYAGX9EQQv2X06x3rhpgqfQhJ0mCX/YuV5QRERHlMQO+7XbkHcG0bv8Sq6HSRf
         fftXk9BbH7azoMsTcakebdi+rI/MivWEyWJB15hchrC1EHpUPKybs2YZa7DqE1v3laoJ
         6xyvbjeXl3K4Dz5eEmkHASL0tisY5AaHjOZ+RH7v0H4HR7GIA63Ol5g6h/K8ObAVYF2V
         pQMg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=BXHM/qzzxwkwyakq1q2/JQYcNRVYPpVhI+BaWsvrXco=;
        b=ui2lzN+TyueP0R+5Fy11AItNN9MDGdgCQ636VuMckq87wQZnuz0MxeUSaN84aufKiM
         FNaS4EeGejusRjogkGqc9fuNv5VQ/1Y/D99NYLP8a9TCjfvgtfsnyJsm+KnPVPooQzjC
         JoDN65B5YRb6Vha01wkCBUo9B40/5bDxUR6Qt7F6E9wddzOgnXegXfTvmalNs22I5579
         ZRugpcu197eY8IEGDKTOgcl8KfXuOqYayfsJsUFigvU6eNPNGz50cDPLZD3WtbWaLFJP
         3B5zn/HejjTCe6SkdVHog9Eb2FOU33NvbT0MEtUaXDKGBDrKQtQusblE5fe/AKpALvKs
         KOUA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        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:x-spam-checked-in-group:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=BXHM/qzzxwkwyakq1q2/JQYcNRVYPpVhI+BaWsvrXco=;
        b=j5iiLosByPJlhEN2Zesx7oqAKRkbVzukhQ4imcH+Al8tUFn91ZyufMB8HPSyfoFhxX
         /RSQ0OMycGdCm4iMZogYK9lNUYEYw9+UREpg4SpRYjxHmmyAK2ngpBW2RO+0zOnAFyKQ
         K+v7F1T137Ct0KX6nY4bF+cJfXlOzqVPGpkKF+aRmTn29avEnhcL+/cQDVXnzLn9kF40
         tDH2+49nL3VAYDVlAgTJCwnZwqijMTWRiaeCoi1rlFnV+sv/Vux8QzFcJX3F9XkeM6pc
         1IFKoDxkweivRx9oGyjiHI4u9BXr9C1vOpGZ53q/WO2VkmIp++ZPSqTaH4guUoBqyJuj
         ZjFA==
X-Gm-Message-State: AFeK/H3EzPjiUpGAP8WoBaduuB2ZphWXvG0cF/SvMjRBAsE9GQy9Ygn7G9eb87QTSwze7g==
X-Received: by 10.129.18.130 with SMTP id 124mr23940694yws.56.1491948764015;
        Tue, 11 Apr 2017 15:12:44 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.8.69 with SMTP id 63ls1236891oty.21.gmail; Tue, 11 Apr
 2017 15:12:43 -0700 (PDT)
X-Received: by 10.157.43.178 with SMTP id u47mr412154ota.3.1491948763073;
        Tue, 11 Apr 2017 15:12:43 -0700 (PDT)
In-Reply-To: <eac94f80-d2f9-47e7-b73d-b8280be153bd@isocpp.org>
X-Original-Sender: jmckesson@gmail.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: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://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>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:32079
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/32079>

------=_Part_1244_886921538.1491948762499
Content-Type: multipart/alternative; 
	boundary="----=_Part_1245_1858111069.1491948762499"

------=_Part_1245_1858111069.1491948762499
Content-Type: text/plain; charset=UTF-8

On Tuesday, April 11, 2017 at 5:14:25 PM UTC-4, ejsvifq mabmip wrote:
>
> why std::random_device::result_type isnt implementation-defined or 
> std::size_t?
> unsigned int isn't good since we will never know its size
>

We never know the size of `size_t` either. Since the size of `unsigned int` 
is also implementation defined, what does it matter if the standard said 
that `result_type` was implementaiton-defined or `unsigned int`? In both 
cases, you "will never know its size".

-- 
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.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/8d3f00ec-78b6-4b58-af90-8d91e382fec1%40isocpp.org.

------=_Part_1245_1858111069.1491948762499
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Tuesday, April 11, 2017 at 5:14:25 PM UTC-4, ejsvifq ma=
bmip wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left=
: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr">wh=
y std::random_device::result_<wbr>type isnt implementation-defined or std::=
size_t?<br>unsigned int isn&#39;t good since we will never know its size</d=
iv></blockquote><div><br>We never know the size of `size_t` either. Since t=
he size of `unsigned int` is also implementation defined, what does it matt=
er if the standard said that `result_type` was implementaiton-defined or `u=
nsigned int`? In both cases, you &quot;will never know its size&quot;.<br><=
/div></div>

<p></p>

-- <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 />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/8d3f00ec-78b6-4b58-af90-8d91e382fec1%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/8d3f00ec-78b6-4b58-af90-8d91e382fec1=
%40isocpp.org</a>.<br />

------=_Part_1245_1858111069.1491948762499--

------=_Part_1244_886921538.1491948762499--

.
