220 4366 <518E8C5B.3050800@gmx.net> article
Path: news.gmane.org!not-for-mail
From: Jens Maurer <Jens.Maurer@gmx.net>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: A cleaner way to define nested class/structure
Date: Sat, 11 May 2013 20:22:19 +0200
Lines: 38
Approved: news@gmane.org
Message-ID: <518E8C5B.3050800@gmx.net>
References: <27175469-a158-4bc1-9f30-66e3a647e931@isocpp.org> <102b1477-204a-4504-80eb-197e1ad97206@isocpp.org> <CAOHCbiux3VVDYxuP84mo7bSiaT67cf+vPSHapRHygqK0F0jy7w@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: ger.gmane.org 1368296547 28917 80.91.229.3 (11 May 2013 18:22:27 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sat, 11 May 2013 18:22:27 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDPMTYGK64JRBX4YXKGAKGQEK5NOCCQ@isocpp.org Sat May 11 20:22:25 2013
Return-path: <std-proposals+bncBDPMTYGK64JRBX4YXKGAKGQEK5NOCCQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wi0-f199.google.com ([209.85.212.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDPMTYGK64JRBX4YXKGAKGQEK5NOCCQ@isocpp.org>)
	id 1UbER6-0006pU-MJ
	for gclcip-std-proposals@m.gmane.org; Sat, 11 May 2013 20:22:24 +0200
Original-Received: by mail-wi0-f199.google.com with SMTP id hi5sf214103wib.2
        for <gclcip-std-proposals@m.gmane.org>; Sat, 11 May 2013 11:22:24 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=google.com; s=20120113;
        h=x-received:x-beenthere:x-received:received-spf:x-authenticated
         :x-provags-id:message-id:date:from:user-agent:mime-version:to
         :subject:references:in-reply-to:x-y-gmx-trusted: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=T/fVeAJYji59Ut8di3A2aSMVG3E0WnSot48PdOrbGOo=;
        b=JHe29DBpkMd0UihnB+NgeKTxcDQHQ5bg34Li6Eqgb0a+gyjIhLTDWw0FbOvjMdfJ8+
         7k02GCVrI2jHiI5HO8WpmTmR9rjeB/WxvoLixTiAQdXiyjwd9C/bHo1nzTGgNZ2dEMsa
         funZTkLIWDQZJtpGwXVw5ENIm/IxqG8tVB9NLkBbIdrkb5RNA0rvCouEP9LiQz8a6Ykb
         KY+SBv1XwStHTkB6YvkMQUnaHVWkeY8swv6Txm/ZML9+JL8gL/mZ5oJ/6Pr7OWqbHL8j
         sodSO 
X-Received: by 10.180.20.105 with SMTP id m9mr1965967wie.5.1368296544253;
        Sat, 11 May 2013 11:22:24 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.185.197 with SMTP id fe5ls422832wic.30.canary; Sat, 11 May
 2013 11:22:22 -0700 (PDT)
X-Received: by 10.15.24.136 with SMTP id j8mr56464414eeu.39.1368296542897;
        Sat, 11 May 2013 11:22:22 -0700 (PDT)
Original-Received: from mout.gmx.net (mout.gmx.net. [212.227.15.18])
        by mx.google.com with ESMTP id z48si7061765een.29.2013.05.11.11.22.22
        for <std-proposals@isocpp.org>;
        Sat, 11 May 2013 11:22:22 -0700 (PDT)
Received-SPF: pass (google.com: domain of jens.maurer@gmx.net designates 212.227.15.18 as permitted sender) client-ip=212.227.15.18;
Original-Received: from mailout-de.gmx.net ([10.1.76.33]) by mrigmx.server.lan
 (mrigmx001) with ESMTP (Nemesis) id 0M7FY8-1UMKTY27WA-00x3GO for
 <std-proposals@isocpp.org>; Sat, 11 May 2013 20:22:22 +0200
Original-Received: (qmail invoked by alias); 11 May 2013 18:22:22 -0000
Original-Received: from dslb-088-072-154-107.pools.arcor-ip.net (EHLO [192.168.2.100]) [88.72.154.107]
  by mail.gmx.net (mp033) with SMTP; 11 May 2013 20:22:22 +0200
X-Authenticated: #5874409
X-Provags-ID: V01U2FsdGVkX1/IAa1yVW7IibAYtNxzVX4LLukUh2XbVwDFGWdftH
	EJTPjXArUY6qWF
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1
In-Reply-To: <CAOHCbiux3VVDYxuP84mo7bSiaT67cf+vPSHapRHygqK0F0jy7w@mail.gmail.com>
X-Y-GMX-Trusted: 0
X-Original-Sender: jens.maurer@gmx.net
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of jens.maurer@gmx.net designates 212.227.15.18 as permitted sender) smtp.mail=jens.maurer@gmx.net
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:4366
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/4366>

On 05/10/2013 06:46 PM, Tony V E wrote:
> 
> 
> 
> On Tue, May 7, 2013 at 3:41 PM, <unituniverse.1@gmail.com <mailto:unituniverse.1@gmail.com>> wrote:
> 
>     How about this:
>     template < typename _Ty1 >
>     class Outer
>     {
>         template < typename _Ty2 > class Inner;
>     };
> 
>     // How to write Inner here?
> 
> 
> I would guess something like:
> 
> template<typename T1, typename T2>
> class Outer<T1>::Inner
> {
> };

You can't merge the two template-parameter-lists.
See 14.5.2p1.

Jens

-- 

--- 
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.



.
