220 5340 <CAFk2RUY0M6moUkK4oCm9iLTEvCG8s28v_=2nYOXH6iwwqAGM5w@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Allowing any integral type as an argument for
 user defined literal operators
Date: Mon, 8 Jul 2013 20:23:02 +0300
Lines: 81
Approved: news@gmane.org
Message-ID: <CAFk2RUY0M6moUkK4oCm9iLTEvCG8s28v_=2nYOXH6iwwqAGM5w@mail.gmail.com>
References: <80016e3a-2dc8-4887-b59b-a8aff20439e0@isocpp.org>
	<708b8756-972d-46ce-8e66-2be484e9c4cd@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=047d7bdc9396f4c6fe04e1034bc4
X-Trace: ger.gmane.org 1373304182 16803 80.91.229.3 (8 Jul 2013 17:23:02 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 8 Jul 2013 17:23:02 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRB5XK5OHAKGQEHUGNK3Y@isocpp.org Mon Jul 08 19:23:04 2013
Return-path: <std-proposals+bncBC5JHI7A7ALRB5XK5OHAKGQEHUGNK3Y@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qc0-f197.google.com ([209.85.216.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRB5XK5OHAKGQEHUGNK3Y@isocpp.org>)
	id 1UwF9T-0003e5-Uf
	for gclcip-std-proposals@m.gmane.org; Mon, 08 Jul 2013 19:23:04 +0200
Original-Received: by mail-qc0-f197.google.com with SMTP id u12sf5756714qcx.4
        for <gclcip-std-proposals@m.gmane.org>; Mon, 08 Jul 2013 10:23:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=x-beenthere:mime-version:in-reply-to:references:date:message-id
         :subject:from:to:x-original-sender:x-original-authentication-results
         :reply-to:precedence:mailing-list:list-id:x-google-group-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe
         :content-type;
        bh=N+SSRISsvQwHXvS+o4TAmHPFAweYglrU4oz6LajogqU=;
        b=jNFiifPchU5jxbp8IEWTpLCeoDG5vL6ej9RG/uP/p82scPKBoyH0sfdpvLCrxPgL4j
         Mkb3buehC0McYQctMM49ZRalmB9yaoNzfstNnAYwyVWw5s8Ny3CnE41RXlxa10hswBap
         ZfNOiA9hWnGdzp4e2A/zp//mzr5Xdsbbsc1r+pDa0gMYyHCQas6gapgrI2WcZMaOfqg7
         1mgYCAxwPy7FGrd07KyB/w1Jw9K6L4KNxKyxfmg9dEY0+n5MqOUcIqjvpHAcqsNzzvyl
         PAEztfgVmd6qQLHuAsSOqMfEYAjVo+ITQ1AyF9WIG4vwNJSF545Nd6LW/R2ry3afzFFB
         CV+Q==
X-Received: by 10.236.93.113 with SMTP id k77mr11902034yhf.25.1373304183057;
        Mon, 08 Jul 2013 10:23:03 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.39.201 with SMTP id r9ls1938847qek.72.gmail; Mon, 08 Jul
 2013 10:23:02 -0700 (PDT)
X-Received: by 10.49.34.195 with SMTP id b3mr16898886qej.40.1373304182429;
        Mon, 08 Jul 2013 10:23:02 -0700 (PDT)
Original-Received: from mail-qe0-x235.google.com (mail-qe0-x235.google.com [2607:f8b0:400d:c02::235])
        by mx.google.com with ESMTPS id ox8si6106260qeb.10.2013.07.08.10.23.02
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Mon, 08 Jul 2013 10:23:02 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c02::235 as permitted sender) client-ip=2607:f8b0:400d:c02::235;
Original-Received: by mail-qe0-f53.google.com with SMTP id 1so2438428qee.26
        for <std-proposals@isocpp.org>; Mon, 08 Jul 2013 10:23:02 -0700 (PDT)
X-Received: by 10.49.16.197 with SMTP id i5mr16757846qed.58.1373304182304;
 Mon, 08 Jul 2013 10:23:02 -0700 (PDT)
Original-Received: by 10.224.52.71 with HTTP; Mon, 8 Jul 2013 10:23:02 -0700 (PDT)
In-Reply-To: <708b8756-972d-46ce-8e66-2be484e9c4cd@isocpp.org>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c02::235 as
 permitted sender) smtp.mail=ville.voutilainen@gmail.com;       dkim=pass header.i=@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:5340
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/5340>

--047d7bdc9396f4c6fe04e1034bc4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 8 July 2013 14:35, <jalobado@gmail.com> wrote:

> On Saturday, July 6, 2013 10:26:19 PM UTC+2, Micha=C5=82 Dominiak wrote:
>>
>> Today I came across a very silly issue: you cannot do `uint64_t
>> operator""_foo(uint64_t)`, because `uint64_t` is a typedef for `unsigned
>> long`, not `unsigned long long` on both Clang and GCC on Linux (despite =
the
>> fact that `sizeof(unsigned long) =3D=3D sizeof(unsigned long long)`). Yo=
u have
>> to type the long type name, just because the typedef isn't for the exact
>> type required by the standard. I hope we all agree this is a silly
>> situation.
>
>
> I wasn't aware the standard required uint64_t to be typedef'ed to unsigne=
d
> long long int. I wasn't even aware the standard
>

It's not required to be unsigned long long.

--=20

---=20
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 e=
mail 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-proposa=
ls/.



--047d7bdc9396f4c6fe04e1034bc4
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On 8 July 2013 14:35,  <span dir=3D"ltr">&lt;<a href=3D"mailto:jalo=
bado@gmail.com" target=3D"_blank">jalobado@gmail.com</a>&gt;</span> wrote:<=
br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left=
:1px #ccc solid;padding-left:1ex">
<div class=3D"im">On Saturday, July 6, 2013 10:26:19 PM UTC+2, Micha=C5=82 =
Dominiak wrote:<blockquote class=3D"gmail_quote" style=3D"margin:0;margin-l=
eft:0.8ex;border-left:1px #ccc solid;padding-left:1ex">Today I came across =
a very silly issue: you cannot do `uint64_t operator&quot;&quot;_foo(uint64=
_t)`, because `uint64_t` is a typedef for `unsigned long`, not `unsigned lo=
ng long` on both Clang and GCC on Linux (despite the fact that `sizeof(unsi=
gned long) =3D=3D sizeof(unsigned long long)`). You have to type the long t=
ype name, just because the typedef isn&#39;t for the exact type required by=
 the standard. I hope we all agree this is a silly situation.</blockquote>
<div><br></div></div><div>I wasn&#39;t aware the standard required uint64_t=
 to be typedef&#39;ed to unsigned long long int. I wasn&#39;t even aware th=
e standard </div></blockquote><div><br></div><div>It&#39;s not required to =
be unsigned long long.<br>
<br></div></div><br></div></div>

<p></p>

-- <br />
&nbsp;<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 std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<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 />
&nbsp;<br />
&nbsp;<br />

--047d7bdc9396f4c6fe04e1034bc4--

.
