220 27887 <1706311.trY4MaExHO@tjmaciei-mobl1> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Thiago Macieira <thiago@macieira.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Stabilize the numeric types in all platforms
Date: Mon, 22 Aug 2016 21:49:01 -0700
Lines: 26
Approved: news@gmane.org
Message-ID: <1706311.trY4MaExHO@tjmaciei-mobl1>
References: <e10aed06-1df7-495b-93a2-10315cede76c@isocpp.org> <72b7e733-cb85-4f47-a09b-10611f04211b@isocpp.org> <18a39611-8088-4e04-be0a-bb1b7c485683@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: blaine.gmane.org 1471927749 30425 195.159.176.226 (23 Aug 2016 04:49:09 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Tue, 23 Aug 2016 04:49:09 +0000 (UTC)
User-Agent: KMail/5.2.3 (Linux/4.6.4-2-default; KDE/5.24.0; x86_64; ; )
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBQFL566QKGQEFWLCDDQ@isocpp.org Tue Aug 23 06:49:05 2016
Return-path: <std-proposals+bncBCB4TK757YBRBQFL566QKGQEFWLCDDQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wm0-f71.google.com ([74.125.82.71])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCB4TK757YBRBQFL566QKGQEFWLCDDQ@isocpp.org>)
	id 1bc3e4-0007bp-Rg
	for gclcip-std-proposals@m.gmane.org; Tue, 23 Aug 2016 06:49:04 +0200
Original-Received: by mail-wm0-f71.google.com with SMTP id u81sf75669856wmu.3
        for <gclcip-std-proposals@m.gmane.org>; Mon, 22 Aug 2016 21:49:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=from:to:subject:date:message-id:user-agent:in-reply-to:references
         :mime-version:x-original-sender:x-original-authentication-results
         :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=oT2/Tnm/fZcoMGLZ4y7DRuzjaNhJ2dylilujEv3Aros=;
        b=OYcultpS1LELzXP21eVTHJeA/njX84KfThYijSf4cqFuZAXgcOJSZRH7gNWYHOD/Yp
         oEUghzrqyFthwGMtYw0/mSng4vqVn1v8lblrav/bKP5NL77/r5sMRcH/lbQ27ht48xte
         D+TZqbpB9+5bAuc9HtE8PaypQq6eRj+yKWyEX0lCb7bScj1kwhh3VU35d244fr40uYSZ
         RCZPGpJGdJukT2YQraGisg48Tmc273h+2y09bQOC3yGV1fC7bIla+Hux2a1WhHhAfANT
         /5+snLlEExFyqN9/gIrw1+ODFGZckcdNEgwh4WLdRmacKD31wfQwQBunZsLQlXs7bIra
         OHcw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:to:subject:date:message-id:user-agent
         :in-reply-to:references:mime-version:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=oT2/Tnm/fZcoMGLZ4y7DRuzjaNhJ2dylilujEv3Aros=;
        b=cF0WMJIyOy5dAovial5cG8ueTMuPDbs0bSjdwiucJ4A7FSKtcMTcxVK88ywwuciHQT
         mNSPJHD09cKIikb5zO82Y2WuxQa+B2yqqY9tqdFSkN6hE4SHgWLlg7z+RFSLqTQrehu1
         li63cFrCX98FvT4qVa91sS/cSEKFKfnacvVY5K/tqgQ1bIkV2ShzGtWw+pi7k7JUNIiJ
         EESaqpCzvoAXdqxDEJcULPRn+DAb8Ejv4sumJET+iiPO3sYpMY4ssb8vIu0cRE5YqggF
         A461y3aTggpukkazUt8dPuX7Mfygs8DX4IknaNkpLWk3tzYjukf781wq9CmNHflYSZaq
         QoWg==
X-Gm-Message-State: AEkoous0YvUXl2FHMJRFpmV00wxC9FC+st3hyorNPeQmZ9FW0o28kSXQP4z3DQlez69jug==
X-Received: by 10.194.232.100 with SMTP id tn4mr3505714wjc.7.1471927745549;
        Mon, 22 Aug 2016 21:49:05 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.28.29.75 with SMTP id d72ls3040762wmd.20.gmail; Mon, 22 Aug
 2016 21:49:04 -0700 (PDT)
X-Received: by 10.28.185.202 with SMTP id j193mr17560788wmf.78.1471927744455;
        Mon, 22 Aug 2016 21:49:04 -0700 (PDT)
Original-Received: from gondolin.macieira.info (gondolin.macieira.info. [2a01:4f8:d13:f81:21c:14ff:fe01:12a3])
        by mx.google.com with ESMTP id n76si1826077wmd.127.2016.08.22.21.49.04
        for <std-proposals@isocpp.org>;
        Mon, 22 Aug 2016 21:49:04 -0700 (PDT)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3 as permitted sender) client-ip=2a01:4f8:d13:f81:21c:14ff:fe01:12a3;
Original-Received: from tjmaciei-mobl1.localnet (unknown [IPv6:2601:1c0:5803:81c9:f071:bb7f:b415:ad52])
	by gondolin.macieira.info (Postfix) with ESMTPSA id DACBA11A741
	for <std-proposals@isocpp.org>; Mon, 22 Aug 2016 21:49:03 -0700 (PDT)
In-Reply-To: <18a39611-8088-4e04-be0a-bb1b7c485683@isocpp.org>
X-Original-Sender: thiago@macieira.org
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3
 as permitted sender) smtp.mailfrom=thiago@macieira.org
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:27887
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/27887>

On segunda-feira, 22 de agosto de 2016 21:36:12 PDT FrankHB1989 wrote:
> OK, I should have said, they are not mandated *by the core language*, or, 
> not guaranteed both built-in and portable.

They are mandated in a header that complements the core language. Just like 
<intializer_list>, <type_traits> and <limits>, those types cannot be 
implemented by anyone except the compiler vendor.

Therefore, for all intents and purposes, the minimum-width and fast integer 
types are guaranteed to be portable.

The exact-width ones aren't guaranteed to be portable because their concept 
isn't portable. Some machines don't have 8-, 16-, 32- and 64-bit types (they 
could be multiples of 9 bits). Also note how int32_t is required to use two's 
complement representation, which again excludes some machines.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

-- 
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/1706311.trY4MaExHO%40tjmaciei-mobl1.

.
