220 10385 <CADfx-VTwGW0M6c6WXCkPhH-O_Dc--U=TUPT76Q6FYfSYorZMcA@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Felipe Magno de Almeida <felipe.m.almeida@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: std::integer_of_size<N> in type_traits
Date: Sat, 26 Apr 2014 15:27:55 -0300
Lines: 26
Approved: news@gmane.org
Message-ID: <CADfx-VTwGW0M6c6WXCkPhH-O_Dc--U=TUPT76Q6FYfSYorZMcA@mail.gmail.com>
References: <75f1b094-0f3c-4efe-9f09-74482dd4427a@isocpp.org> <3acab6db-95da-4b7d-a776-efda998b5c98@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1398536915 5624 80.91.229.3 (26 Apr 2014 18:28:35 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sat, 26 Apr 2014 18:28:35 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCL7ZKXVZICRBSXV56NAKGQEP7YTULQ@isocpp.org Sat Apr 26 20:28:28 2014
Return-path: <std-proposals+bncBCL7ZKXVZICRBSXV56NAKGQEP7YTULQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-oa0-f72.google.com ([209.85.219.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCL7ZKXVZICRBSXV56NAKGQEP7YTULQ@isocpp.org>)
	id 1We7Ku-000100-LP
	for gclcip-std-proposals@m.gmane.org; Sat, 26 Apr 2014 20:28:28 +0200
Original-Received: by mail-oa0-f72.google.com with SMTP id eb12sf30076361oac.11
        for <gclcip-std-proposals@m.gmane.org>; Sat, 26 Apr 2014 11:28:27 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe:content-type;
        bh=Xn9nUp+mTnZYYOrMrSiy7mkPNUlsZQ0FcsnJuP0dePQ=;
        b=mIcmoYtVc5/Etc3h0Jqiomk9Fv08XatgHj9Atorp4gKt0rOwK2JMZkAy6SKZmojrIb
         eO6MJ11K/G2pMBc/65Yo3FI2zrhy4p2Khjlwf4a1IOLpBrK08cl6j+kIgK63GVzraklS
         3sn4ajOEg+AVOYOYwhpcFEftKHCzD0WCcP5jcMDpVC7ef0zJHwielxQKBNP1Q9mtk1e1
         YxuX712g4yKcxXgZirhm2fuNYa7n5a35XymyIoTZCqg3/A90dVPuPHVWcy14ntPvQJdF
         7KI9I3NEy7oE/zO9bqHS6kc5zzgDrerd0XOXXajIAKvoTXaFY0NxRewM17vff7uyryZY
         m8yA==
X-Gm-Message-State: ALoCoQlA1XwalEiT36a39upxyG+SpDytJoxDpGbS8vHmoZYw5H7h2F7XsPtV2S/wjx+liJ5sEp4s
X-Received: by 10.43.139.66 with SMTP id iv2mr7520589icc.17.1398536907556;
        Sat, 26 Apr 2014 11:28:27 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.40.41 with SMTP id u9ls856523igk.22.gmail; Sat, 26 Apr 2014
 11:28:26 -0700 (PDT)
X-Received: by 10.50.66.203 with SMTP id h11mr13010130igt.49.1398536906446;
        Sat, 26 Apr 2014 11:28:26 -0700 (PDT)
Original-Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [2607:f8b0:4001:c05::229])
        by mx.google.com with ESMTPS id gd1si4275446igd.49.2014.04.26.11.28.26
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sat, 26 Apr 2014 11:28:26 -0700 (PDT)
Received-SPF: pass (google.com: domain of felipe.m.almeida@gmail.com designates 2607:f8b0:4001:c05::229 as permitted sender) client-ip=2607:f8b0:4001:c05::229;
Original-Received: by mail-ig0-f169.google.com with SMTP id h18so3374062igc.4
        for <std-proposals@isocpp.org>; Sat, 26 Apr 2014 11:28:26 -0700 (PDT)
X-Received: by 10.50.46.100 with SMTP id u4mr13132213igm.23.1398536906147;
 Sat, 26 Apr 2014 11:28:26 -0700 (PDT)
Original-Received: by 10.50.15.132 with HTTP; Sat, 26 Apr 2014 11:27:55 -0700 (PDT)
In-Reply-To: <3acab6db-95da-4b7d-a776-efda998b5c98@isocpp.org>
X-Original-Sender: felipe.m.almeida@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of felipe.m.almeida@gmail.com designates 2607:f8b0:4001:c05::229 as
 permitted sender) smtp.mail=felipe.m.almeida@gmail.com;       dkim=pass
 header.i=@gmail.com;       dmarc=pass (p=NONE dis=NONE) header.from=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: <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: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:10385
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/10385>

On Sat, Apr 26, 2014 at 11:09 AM, Olaf van der Spek
<olafvdspek@gmail.com> wrote:
> Doesn't Boost provide this already?

Yes. boost::uint_t<N>::least and ::exact in <boost/integer.hpp>.

Though it is probably quite hard to maintain it complete for every
compiler and compiler version with different integral primitive
extensions.

> --
>
> ---

Regards,
-- 
Felipe Magno de Almeida

-- 

--- 
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/.

.
