220 12679 <3ffb66f4-70dd-46ac-be8f-cab904b74e5c@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: =?UTF-8?Q?Andrzej_Krzemie=C5=84ski?= <akrzemi1@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Possibilities for uniform type name declaration
Date: Thu, 4 Sep 2014 14:35:42 -0700 (PDT)
Lines: 114
Approved: news@gmane.org
Message-ID: <3ffb66f4-70dd-46ac-be8f-cab904b74e5c@isocpp.org>
References: <83a1ebce-b43d-4d3f-86ea-83b1f85fd432@isocpp.org> <c82ff1f6-9a5c-4c52-9451-01a5e888ba74@isocpp.org>
 <20140904170928.GA11632@bacon.lysator.liu.se>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_5608_40808791.1409866542733"
X-Trace: ger.gmane.org 1409866557 16795 80.91.229.3 (4 Sep 2014 21:35:57 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 4 Sep 2014 21:35:57 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDT2DGOJ34DBBL5WUOQAKGQEYI6ROMY@isocpp.org Thu Sep 04 23:35:46 2014
Return-path: <std-proposals+bncBDT2DGOJ34DBBL5WUOQAKGQEYI6ROMY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yk0-f200.google.com ([209.85.160.200])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDT2DGOJ34DBBL5WUOQAKGQEYI6ROMY@isocpp.org>)
	id 1XPegz-0001tk-OP
	for gclcip-std-proposals@m.gmane.org; Thu, 04 Sep 2014 23:35:46 +0200
Original-Received: by mail-yk0-f200.google.com with SMTP id 9sf33009745ykp.7
        for <gclcip-std-proposals@m.gmane.org>; Thu, 04 Sep 2014 14:35:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=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=b2sAIp7hlwYaqsqUB5/KQmAxKTeAUWbbcjf3hMV6kRU=;
        b=rTVIZ4fErXZwbjDuyB+uufBDCpvSGr6pz5q301xGceeMEf9k2btv9rjTbQZkFNVKya
         J+2npD5NTAVDUM66nJgdCkEnTqlZ6AMfcJ93mqxPC0QgIQOoWdmRGrtiGmssP6bIgaWE
         WMpwHvTID4XIh0cK8c/I4/QhsQnzLgRl7AFTOWRVHSNTuDBxSMMjZZ2KQGEH3i4w0KlP
         dGiv+Oy8w7ImPp//z0gMxDeknRvvK4YFd6QRVBorxWiXJB71Kkh8umT6/RqGpWBy8VF4
         cl20bUz5s+V2ak7wk9AkzwznBU56ZEPozPqcG1W5IKWAHtL87/qUIwXwLyG+L2/khN1K
         deyg==
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=b2sAIp7hlwYaqsqUB5/KQmAxKTeAUWbbcjf3hMV6kRU=;
        b=DpcD4cpnOazt9hIiXTPEqBT+00u7SDfhxL8/d0roIILK9IO+VDCZhbNs6sxUAhdNxG
         E8haY2bN7f6GMGiIuDkyW048yp+4zdvf1rLk9AC2t6yjhIWpWYS++DdJJMc8pXtesc5r
         wPyrM/Q8t8i8MBlfMgLZaTsFMQVU4DnmS7qMvHQuEjJMhnYXaooxpC65LBqCLOayNM3F
         cnMUk7y2iqM0ZrUFm35hvJ1XUSauZ2CvXa+W3bGEgQYhNOJWVOBl5zB03/JkLqfAG1vx
         lNzGgPCTrzNpDryzdnmmn9j2WPZVameSCEm7Cudq/Dfdx+CQO6ENY3EybE0mN1C9fzG8
         mLvw==
X-Gm-Message-State: ALoCoQlB+FvsXB/b8t6w3nVleor7k2WW5GByG6W+m/TeSpM6800C6DOmH7nu9JeKMJzZ4sCYQx8U
X-Received: by 10.236.148.2 with SMTP id u2mr2821641yhj.55.1409866544893;
        Thu, 04 Sep 2014 14:35:44 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.51.51 with SMTP id t48ls471046qga.67.gmail; Thu, 04 Sep
 2014 14:35:43 -0700 (PDT)
X-Received: by 10.140.82.81 with SMTP id g75mr92668qgd.12.1409866543496;
        Thu, 04 Sep 2014 14:35:43 -0700 (PDT)
In-Reply-To: <20140904170928.GA11632@bacon.lysator.liu.se>
X-Original-Sender: akrzemi1@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: <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:12679
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/12679>

------=_Part_5608_40808791.1409866542733
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable



W dniu czwartek, 4 wrze=C5=9Bnia 2014 19:09:34 UTC+2 u=C5=BCytkownik Magnus=
 Fromreide=20
napisa=C5=82:
>
> On Thu, Sep 04, 2014 at 01:55:09AM -0700, Andrzej Krzemie??ski wrote:=20
> >=20
> > I wonder if it would solve the problems I face. Can I use it to=20
> > forward-declare template instantiations as well? Eg.:=20
> >=20
> > namespace std=20
> > {=20
> >   typename string;=20
> > }=20
> >=20
> > std::string is not a "class", but I would like to be able to=20
> > forward-declare it. (I am not sure if you could do that for namespace=
=20
> std,=20
> > but it would still be useful for other namespaces). If this could be=20
> done,=20
> > I consider the proposal very useful. I often need to turn a class into =
a=20
> > class template and hate to be forced to rewrite all my forward=20
> declarations.=20
>
> Yes, it would be nice to be able to do that, but the problem is that give=
n=20
>
> typename foo;=20
>
> you can't know what=20
>
> sizeof(foo*);=20
>
> is.=20
>

Why?

--=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/.

------=_Part_5608_40808791.1409866542733
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>W dniu czwartek, 4 wrze=C5=9Bnia 2014 19:09:34 UTC=
+2 u=C5=BCytkownik Magnus Fromreide napisa=C5=82:<blockquote class=3D"gmail=
_quote" style=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;p=
adding-left: 1ex;">On Thu, Sep 04, 2014 at 01:55:09AM -0700, Andrzej Krzemi=
e??ski wrote:
<br>&gt;=20
<br>&gt; I wonder if it would solve the problems I face. Can I use it to=20
<br>&gt; forward-declare template instantiations as well? Eg.:
<br>&gt;=20
<br>&gt; namespace std
<br>&gt; {
<br>&gt; &nbsp; typename string;
<br>&gt; }
<br>&gt;=20
<br>&gt; std::string is not a "class", but I would like to be able to=20
<br>&gt; forward-declare it. (I am not sure if you could do that for namesp=
ace std,=20
<br>&gt; but it would still be useful for other namespaces). If this could =
be done,=20
<br>&gt; I consider the proposal very useful. I often need to turn a class =
into a=20
<br>&gt; class template and hate to be forced to rewrite all my forward dec=
larations.
<br>
<br>Yes, it would be nice to be able to do that, but the problem is that gi=
ven
<br>
<br>typename foo;
<br>
<br>you can't know what
<br>
<br>sizeof(foo*);
<br>
<br>is.
<br></blockquote><div><br>Why?<br></div></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_5608_40808791.1409866542733--

.
