220 4302 <17b5f3d9-12b2-4b76-9967-dea61b73d9ab@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: unituniverse.1@gmail.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: A cleaner way to define nested class/structure
Date: Tue, 7 May 2013 12:40:01 -0700 (PDT)
Lines: 64
Approved: news@gmane.org
Message-ID: <17b5f3d9-12b2-4b76-9967-dea61b73d9ab@isocpp.org>
References: <27175469-a158-4bc1-9f30-66e3a647e931@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_3194_5081380.1367955601341"
X-Trace: ger.gmane.org 1367955609 23665 80.91.229.3 (7 May 2013 19:40:09 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 7 May 2013 19:40:09 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDBYPZVK7MJRBEVRUWGAKGQE2UUFNUI@isocpp.org Tue May 07 21:40:09 2013
Return-path: <std-proposals+bncBDBYPZVK7MJRBEVRUWGAKGQE2UUFNUI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ie0-f200.google.com ([209.85.223.200])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDBYPZVK7MJRBEVRUWGAKGQE2UUFNUI@isocpp.org>)
	id 1UZnk4-0000oe-04
	for gclcip-std-proposals@m.gmane.org; Tue, 07 May 2013 21:40:04 +0200
Original-Received: by mail-ie0-f200.google.com with SMTP id 10sf3395203ied.3
        for <gclcip-std-proposals@m.gmane.org>; Tue, 07 May 2013 12:40:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=x-received:x-beenthere:x-received:date:from:to:message-id
         :in-reply-to:references:subject:mime-version:x-original-sender
         :reply-to:precedence:mailing-list:list-id:x-google-group-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe
         :content-type;
        bh=QBZ7CNMTfrhD+xPO3pRHFezzVX47S1Y7dAYVJJHFWd8=;
        b=FdFBMFiqies445V+dakhvqSBDQHT3HlSj4HysktrRB/F2VKkgX3plk7Bsz5AXL4pyF
         kc4UU6W+Zvk5EGWEVqjuScURcQuN1aWdNCwkIWm2gtPjPxYDOEeoyr7nI/+NjsVujLpf
         /TBZJ01bINZP/Et7tthFM412X3K4zXInAlwS4TOymvJBUN46NZmip2MsiowEjuy3RNs1
         niQPpm7v9sfNb/yp1Ts4rCe6PXrKxMz9Sb5rnhMstlJ3jrts5DmFGoXT8bM2kgue0eL2
         0BYES4HZ6SnnKh7YdeKKpk7s66IBRYwb09e6P6lr8iNW7ybgJfU95X/JcV4r4seRaZtX
         /oKQ==
X-Received: by 10.43.155.200 with SMTP id lj8mr2749642icc.23.1367955603039;
        Tue, 07 May 2013 12:40:03 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.66.234 with SMTP id i10ls2809208igt.1.canary; Tue, 07 May
 2013 12:40:02 -0700 (PDT)
X-Received: by 10.50.111.230 with SMTP id il6mr626019igb.14.1367955602033;
        Tue, 07 May 2013 12:40:02 -0700 (PDT)
In-Reply-To: <27175469-a158-4bc1-9f30-66e3a647e931@isocpp.org>
X-Original-Sender: unituniverse1@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?hl=en>,
 <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?hl=en&topic=25838>,
 <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/?hl=en>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe?hl=en>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe?hl=en>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:4302
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/4302>

------=_Part_3194_5081380.1367955601341
Content-Type: text/plain; charset=ISO-8859-1

How about this:
template < typename _Ty1 >
class Outer
{
    template < typename _Ty2 > class Inner;
};

// How to write Inner here?

And this:
class C1
{
};

class Outer
{
  class C1;
};

//class Outer::C1 {}; // Any conflict?

-- 

--- 
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/?hl=en.



------=_Part_3194_5081380.1367955601341
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

How about this:<div>template &lt; typename _Ty1 &gt;</div><div>class Outer<=
/div><div>{</div><div>&nbsp; &nbsp; template &lt; typename _Ty2 &gt; class =
Inner;</div><div>};</div><div><br></div><div>// How to write Inner here?</d=
iv><div><br></div><div>And this:</div><div>class C1</div><div>{</div><div>}=
;</div><div><br></div><div>class Outer</div><div>{</div><div>&nbsp; class C=
1;</div><div>};</div><div><br></div><div>//class Outer::C1 {}; // Any confl=
ict?</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/?hl=3Den">http://groups.google.com/a/isocpp.org/group/std-pro=
posals/?hl=3Den</a>.<br />
&nbsp;<br />
&nbsp;<br />

------=_Part_3194_5081380.1367955601341--

.
