220 17367 <CAFdMc-1sDHuoyL3tUPK7pXt0rWsRJO=nkBip2Gb9PBd2e54uSQ@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: "dgutson ." <danielgutson@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Nondeduced concepts reloaded
Date: Thu, 16 Apr 2015 14:34:31 -0300
Lines: 74
Approved: news@gmane.org
Message-ID: <CAFdMc-1sDHuoyL3tUPK7pXt0rWsRJO=nkBip2Gb9PBd2e54uSQ@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a11334f146999610513dae00f
X-Trace: ger.gmane.org 1429205675 18503 80.91.229.3 (16 Apr 2015 17:34:35 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 16 Apr 2015 17:34:35 +0000 (UTC)
To: std-proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDE3NBMV6UFBBKHFX6UQKGQEB4W7O7Q@isocpp.org Thu Apr 16 19:34:35 2015
Return-path: <std-proposals+bncBDE3NBMV6UFBBKHFX6UQKGQEB4W7O7Q@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ig0-f198.google.com ([209.85.213.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDE3NBMV6UFBBKHFX6UQKGQEB4W7O7Q@isocpp.org>)
	id 1YingQ-0004hj-N1
	for gclcip-std-proposals@m.gmane.org; Thu, 16 Apr 2015 19:34:34 +0200
Original-Received: by igbri1 with SMTP id ri1sf84673417igb.2
        for <gclcip-std-proposals@m.gmane.org>; Thu, 16 Apr 2015 10:34:33 -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:date:message-id:subject:from:to
         :content-type:x-original-sender:x-original-authentication-results
         :reply-to:precedence:mailing-list:list-id:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=JglplxP+irOp7/JwzQCaMh19iWX2L1C19OEXmKBp+GE=;
        b=JPIny0pYPV3tB3rFtqJ769SB2IQA7jHvG9t4v7n+w9IyV0P8jW6xLSvA16T+pGCOK9
         Sq4Oq0v/LQF5q1ZdoD1qlFryznzSXYfRmBKPaZHK7n42XyS37onmu5Np+o1DyXuTOkUa
         F4zvVKI9pHW0nmHPG8Kjcui2kaC9gOj2tVcVf+dLCRmeYx2WV+8y4lahRdhLa8p1L36g
         yxN5ql5TzDcP9b0cYLjtY8Yb4V0FXTzAdwCtlY2WDQ6vRkZUYJU1GKRuoIEPjwVrMqqb
         5k5IKPhZbIJs4w10m+2KB94ApMq1K6u4k0LKQ3GdW3gJPDyPhYPTYlREUgawYa4SNz84
         sdhA==
X-Gm-Message-State: ALoCoQkckk3RqNvEbrjDzzdbmgcaXsh01+TX3Nllhn6R9EM8lgpISmd0AuHvllDLU5K0GKhK43kv
X-Received: by 10.42.206.144 with SMTP id fu16mr40601971icb.2.1429205673631;
        Thu, 16 Apr 2015 10:34:33 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.28.21 with SMTP id c21ls998697ioc.37.gmail; Thu, 16 Apr
 2015 10:34:32 -0700 (PDT)
X-Received: by 10.43.72.138 with SMTP id yo10mr39232703icb.69.1429205672732;
        Thu, 16 Apr 2015 10:34:32 -0700 (PDT)
Original-Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com. [2607:f8b0:4001:c03::235])
        by mx.google.com with ESMTPS id i4si8148199igi.26.2015.04.16.10.34.32
        for <std-proposals@isocpp.org>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Thu, 16 Apr 2015 10:34:32 -0700 (PDT)
Received-SPF: pass (google.com: domain of danielgutson@gmail.com designates 2607:f8b0:4001:c03::235 as permitted sender) client-ip=2607:f8b0:4001:c03::235;
Original-Received: by iebrs15 with SMTP id rs15so57071949ieb.3
        for <std-proposals@isocpp.org>; Thu, 16 Apr 2015 10:34:32 -0700 (PDT)
X-Received: by 10.43.129.130 with SMTP id hi2mr5017703icc.18.1429205672355;
 Thu, 16 Apr 2015 10:34:32 -0700 (PDT)
Original-Received: by 10.36.55.5 with HTTP; Thu, 16 Apr 2015 10:34:31 -0700 (PDT)
Original-Received: by 10.36.55.5 with HTTP; Thu, 16 Apr 2015 10:34:31 -0700 (PDT)
X-Original-Sender: danielgutson@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of danielgutson@gmail.com designates 2607:f8b0:4001:c03::235 as
 permitted sender) smtp.mail=danielgutson@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: <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:17367
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/17367>

--001a11334f146999610513dae00f
Content-Type: text/plain; charset=UTF-8

I guess this has been brought over and over but let me bring this once
again.
Are the nondeduced context restrictions still unsolvable nowadays?
For example :

template <class X >
struct S { struct Inner {} ; };

template <class T> struct Template {};
template <class X> struct Template < typename S<x> :: Inner> { int i;};

Template < S<int> :: Inner> t;

So according to the rules,X cannot be deduced when passing Inner.
I'm neither looking for a workaround nor an  explanation, I just want to
confirm that there is no need to revise these rules at the light of the
latest standard.
Would concepts help here?
Thanks!

  Daniel.

-- 

--- 
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/.

--001a11334f146999610513dae00f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">I guess this has been brought over and over but let me bring=
 this once again.<br>
Are the nondeduced context restrictions still unsolvable nowadays?<br>
For example :</p>
<p dir=3D"ltr">template &lt;class X &gt;<br>
struct S { struct Inner {} ; };</p>
<p dir=3D"ltr">template &lt;class T&gt; struct Template {};<br>
template &lt;class X&gt; struct Template &lt; typename S&lt;x&gt; :: Inner&=
gt; { int i;};</p>
<p dir=3D"ltr">Template &lt; S&lt;int&gt; :: Inner&gt; t;<br></p>
<p dir=3D"ltr">So according to the rules,X cannot be deduced when passing I=
nner.<br>
I&#39;m neither looking for a workaround nor an=C2=A0 explanation, I just w=
ant to confirm that there is no need to revise these rules at the light of =
the latest standard.<br>
Would concepts help here?<br>
Thanks!</p>
<p dir=3D"ltr">=C2=A0 Daniel.</p>

<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 />

--001a11334f146999610513dae00f--

.
