220 38914 <CAMmfjbNwyrk7D3wFqe7xxrOwED0AVMLz5_P9m1=S2WunjM1Lqg@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Brian Bi <bbi5291@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Allow forward class declarations to match a type alias.
Date: Fri, 29 Jun 2018 14:45:10 -0700
Lines: 220
Approved: news@gmane.org
Message-ID: <CAMmfjbNwyrk7D3wFqe7xxrOwED0AVMLz5_P9m1=S2WunjM1Lqg@mail.gmail.com>
References: <b2fb570b-aadb-423e-9821-025cb447cf60@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="0000000000001b98b9056fcec3d8"
X-Trace: blaine.gmane.org 1530308586 3866 195.159.176.226 (29 Jun 2018 21:43:06 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 29 Jun 2018 21:43:06 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDS5ZX5VU4NBBZ6Q3LMQKGQE3AFPHWQ@isocpp.org Fri Jun 29 23:43:02 2018
Return-path: <std-proposals+bncBDS5ZX5VU4NBBZ6Q3LMQKGQE3AFPHWQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-oi0-f71.google.com ([209.85.218.71])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDS5ZX5VU4NBBZ6Q3LMQKGQE3AFPHWQ@isocpp.org>)
	id 1fZ1AT-0000rE-M4
	for gclcip-std-proposals@m.gmane.org; Fri, 29 Jun 2018 23:43:01 +0200
Original-Received: by mail-oi0-f71.google.com with SMTP id 130-v6sf6493783oii.8
        for <gclcip-std-proposals@m.gmane.org>; Fri, 29 Jun 2018 14:45:13 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1530308712; cv=pass;
        d=google.com; s=arc-20160816;
        b=V4BAtENEl4s3wXN69c8kjDwG2OPzlX9dk7Lim5AiK/J31FzXMc/kYiDaAPxbZDT++z
         xVFeYBHuQVQuPqFsuxGcmMh/wQSMLXHiMMGbw5OSwcg98mVXyDGYx3RFR0+aydbvj8si
         4I7SrtyWCUl3b6wbNLmy86FJtB8dfbUXgujodm1vTlpIYfIb4qfiJVAETDPBFBplVaLh
         9fBVUak23j/6MsIdn2LbfamC+7vznBfSD9ThLIspDF80IqeK01yGWFud1oStpiDSCMKM
         WZBSt6IUVDt7uzmBwA0l31QfKtygSdq5MBWYNrim9Q9ptBX1dWn7Qa4dKCGbY1Mflxz6
         Qsfg==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date
         :from:references:in-reply-to:mime-version:arc-authentication-results
         :arc-message-signature:dkim-signature:arc-authentication-results;
        bh=1Tq9k27iGFTvsvy1+XiBPdAQQnrwp/gZHLZMAuOudVA=;
        b=wTT5W4wuETCHU8ImbbXz7C5aJLyuPuxxm3qvyBoAVcqc3BuZ36ZpHDg/Fi0CPhG5Vx
         GzL2ghYy9JQvfV0bUcG0z5nNkH6JAcRXnb0K+8HEcRSOoD47vlpXLuSuW6hpaI9/qa5m
         xUhK1GlWhPH6tiPJ3pRGEZt0lza+mjvJuV4lyNVzrV7RdKLIfG5Ah6RjAFRRjB4tVL98
         HaUx7RRMDtDh+C4CSLMU+3QGKwOVLkErUfNl5HuwOrl6x7iRi9pvjbn7vdj55+fAi/Xf
         Hw9ghJ0E1r/LopymQJYrQzhD5LpgzORjReCwTw77VKqc7NFQc0q9gptM9zhzwQ9sgXjq
         29rw==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=pcZfGQj8;
       spf=pass (google.com: domain of bbi5291@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=bbi5291@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :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=1Tq9k27iGFTvsvy1+XiBPdAQQnrwp/gZHLZMAuOudVA=;
        b=baO7cgaGajNgs2Lzya+uGFxYKoARIQMPMH1KkOSZDjh0mVQ0+qJ180jJsz5/TaxDd8
         TbW9mYSxUcCOZXBpB0PCdA6OBIg2LX0EfyWvEQG0gvCzVy4iwCChAvZcFxf5ScqlMHn6
         8iycCJSDIWycRKI1PYTYyD9DosiNI3O3BOXrVC2Z7NreHiQyN5UXOb5NeIJhq3y5ikeQ
         oeIk3VaN1QEnSd9GC1xoMold5f4dfB5qFcoCHFF+OP2R9rmy1f/vLd+SfG6lBSBY4TGW
         5emti9tv5aGfadzQAQx95sGp9jK9L6T3KOWlMH4R8lC11n7cW8+07LsD76O9gliCuufe
         ZDjQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=1Tq9k27iGFTvsvy1+XiBPdAQQnrwp/gZHLZMAuOudVA=;
        b=LvYcwTrVweb9yfC8BgIVkyYO13QxzPYhzef6za8kj00QOJczh9lCkcoH/1TH/YZQcX
         MxMDrpXjKnnlfhtn58VqbC2Jb94jBd81WwN91qmDT9oJsc2PLUVQ7AAOFKpBfaSI6Kpd
         lNED45CnqkJ/OyAEEusy54c3/p9Un17vOudLEUQmtiO69gmE33m4ctP2jx/aO5Ei5S21
         wUpy5F+pskWrU8heL7iFBuhv7J0hbnZA0N9SKjLhK18LEBPm2uwe0FjOrvhwp9jFgbwp
         aD+hTSSDixb4guoh38n3qfwGnqqJSTZdk/cl+6K+kPUCy89IlqcwIrF/la2upiDBiZsU
         3Uvg==
X-Gm-Message-State: APt69E2wXTnbAwYsc8M63gVPS9eABoTUGyu9K9ClT6Ixpq1wp+McKuQn
	FZs7a+dHax5xq2IQwv5u5rkZEw==
X-Google-Smtp-Source: AAOMgpeuoWgLezmTOJ5qaLQMtk3i2y0+VsfSDn00VmGj8hE1v3Hxz4OpD3c3pDIyZAVxaz8z3apF6Q==
X-Received: by 2002:aca:4104:: with SMTP id o4-v6mr6498447oia.7.1530308712690;
        Fri, 29 Jun 2018 14:45:12 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a9d:6357:: with SMTP id y23-v6ls3277694otk.21.gmail; Fri, 29
 Jun 2018 14:45:11 -0700 (PDT)
X-Received: by 2002:a9d:bce:: with SMTP id 72-v6mr10205627oth.77.1530308711491;
        Fri, 29 Jun 2018 14:45:11 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1530308711; cv=none;
        d=google.com; s=arc-20160816;
        b=YRpdxOpIHMu3yQn1Zy58X4l+OM1BLyH7GYOwj30XRbdoNWYZ5sXSkPp7Ke44CRn9A7
         dI4DMCXLQVHKOoqijTzd1nrdsnivdp5d6SB7LERkhp60yiba+zm9QY2AwerSU+BAPHNj
         jXpTRhTMtKp+8g4QehaXZVsyua6CUytUvHr7qvF2M4Bfog/rfj3NzDQMUZCvo6h/kCXy
         oymgC60NBRg6vEJdMO9WvNq0h3igJdnHRQ9p7NZnzYmmx/Wwa6y8OCvaB6M5tnRbjCf1
         m1D5hvuEe1x7hQskA7qPPAFSsYkVHKj7nvdzIEdVEnG43GEVpr6S45nLzm0gnmVAB+sJ
         laNw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=to:subject:message-id:date:from:references:in-reply-to:mime-version
         :dkim-signature:arc-authentication-results;
        bh=JApImRA2BaCl5T2lM7S818adyn8Ew//k+4DGJ9hSUFE=;
        b=yEnSURPK4HtaDAlr3VHYkw8tVnUC94LTRUoLuVxjpAtustN6fcDr3J3MWN5gRvGe6u
         Itv94osij3/UnLsip6Rgwlc3ZAv/HGYjT68VKAixI9WltKKVRPwZ2tG8l2XQQPUAEGiA
         /MGftf7EJxF/ih9osJVFwCdVb23/R+hx0+lnTkXoVirlBCe5AvWsk/1l6CHlZ9m/byqj
         pGpaIhAsmN27p4CpfP+7Mb6nWhdR1V4VOUcskxv3i8am3IJpBwdHKtYoQU/+h9PkwjRG
         e38BogTiAg7ZN1f7lS6Jd1ZG6cnS4vs9XEMBDAOoug+AYpTd5rLx07EhrNigrG9zOaXp
         2Xyw==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=pcZfGQj8;
       spf=pass (google.com: domain of bbi5291@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=bbi5291@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Original-Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41])
        by mx.google.com with SMTPS id x4-v6sor3779740oif.91.2018.06.29.14.45.11
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Fri, 29 Jun 2018 14:45:11 -0700 (PDT)
Received-SPF: pass (google.com: domain of bbi5291@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 2002:aca:66db:: with SMTP id m88-v6mr9444100oik.141.1530308710863;
 Fri, 29 Jun 2018 14:45:10 -0700 (PDT)
Original-Received: by 2002:a4a:6f4d:0:0:0:0:0 with HTTP; Fri, 29 Jun 2018 14:45:10
 -0700 (PDT)
In-Reply-To: <b2fb570b-aadb-423e-9821-025cb447cf60@isocpp.org>
X-Original-Sender: bbi5291@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b=pcZfGQj8;       spf=pass
 (google.com: domain of bbi5291@gmail.com designates 209.85.220.41 as
 permitted sender) smtp.mailfrom=bbi5291@gmail.com;       dmarc=pass (p=NONE
 sp=QUARANTINE 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-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://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>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:38914
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/38914>

--0000000000001b98b9056fcec3d8
Content-Type: text/plain; charset="UTF-8"

It's not an oversight. It's a design decision that "class FloatImage;"
forward-declares a class whose *identity* is known; its true name is
FloatImage (in the same namespace). It is already known not to be identical
with CudaImage<float>. Saying that it is, later, is contradicting what you
told the compiler earlier.

As Nicol Bolas says, you need a third type of declaration to do what you
want to do.

On Fri, Jun 29, 2018 at 12:56 AM, Bengt Gustafsson <
bengt.gustafsson@beamways.com> wrote:

> A forward declaration of a class name is currently not allowed to be
> resolved by a type alias of a class template. I don't see the logic to
> this, why is this illegal:
>
> // forward declaration in one header file.
> class FloatImage;
>
>
> // Definition in another header file.
> template<typename T> class CudaImage {
> };
>
> using FloatImage = CudaImage<float>;
>
>
> Godbolt: https://godbolt.org/g/mmTTeQ shows that all compilers reject
> this.
>
> This has  created a fair amount of trouble for me when trying to refactor
> what was previously a FloatImage class to a generic pixel type template. I
> don't see the logic to making this
> illegal as FloatImage is still the name of a class, i.e. an instance of
> the CudaImage class template.
>
> While I can update the forward declaration to:
> // forward declaration in one header file.
> template<typename T> class CudaImage;
> using FloatImage = CudaImage<float>;
>
> This seems to be an unnecessary leakage of implementation detail.
>
> so is there a technical reason preventing this from being allowed or is it
> just an oversight that could be corrected?
>
> --
> 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.
> To view this discussion on the web visit https://groups.google.com/a/
> isocpp.org/d/msgid/std-proposals/b2fb570b-aadb-423e-
> 9821-025cb447cf60%40isocpp.org
> <https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/b2fb570b-aadb-423e-9821-025cb447cf60%40isocpp.org?utm_medium=email&utm_source=footer>
> .
>



-- 
*Brian Bi*

-- 
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.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAMmfjbNwyrk7D3wFqe7xxrOwED0AVMLz5_P9m1%3DS2WunjM1Lqg%40mail.gmail.com.

--0000000000001b98b9056fcec3d8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>It&#39;s not an oversight. It&#39;s a design decision=
 that &quot;class FloatImage;&quot; forward-declares a class whose <i>ident=
ity</i> is known; its true name is FloatImage (in the same namespace). It i=
s already known not to be identical with CudaImage&lt;float&gt;. Saying tha=
t it is, later, is contradicting what you told the compiler earlier.<br><br=
></div>As Nicol Bolas says, you need a third type of declaration to do what=
 you want to do. <br></div><div class=3D"gmail_extra"><br><div class=3D"gma=
il_quote">On Fri, Jun 29, 2018 at 12:56 AM, Bengt Gustafsson <span dir=3D"l=
tr">&lt;<a href=3D"mailto:bengt.gustafsson@beamways.com" target=3D"_blank">=
bengt.gustafsson@beamways.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 dir=3D"ltr">A forward declaration of a class name is curren=
tly not allowed to be resolved by a type alias of a class template. I don&#=
39;t see the logic to this, why is this illegal:<div><br></div><div><div><d=
iv><div class=3D"m_-3720303745785001123prettyprint" style=3D"background-col=
or:rgb(250,250,250);border-color:rgb(187,187,187);border-style:solid;border=
-width:1px;word-wrap:break-word"><code class=3D"m_-3720303745785001123prett=
yprint"><div class=3D"m_-3720303745785001123subprettyprint"><span style=3D"=
color:#800" class=3D"m_-3720303745785001123styled-by-prettify">// forward d=
eclaration in one header file.</span><span style=3D"color:#000" class=3D"m_=
-3720303745785001123styled-by-prettify"><br></span><span style=3D"color:#00=
8" class=3D"m_-3720303745785001123styled-by-prettify">class</span><span sty=
le=3D"color:#000" class=3D"m_-3720303745785001123styled-by-prettify"> </spa=
n><span style=3D"color:#606" class=3D"m_-3720303745785001123styled-by-prett=
ify">FloatImage</span><span style=3D"color:#660" class=3D"m_-37203037457850=
01123styled-by-prettify">;</span><span style=3D"color:#000" class=3D"m_-372=
0303745785001123styled-by-prettify"><br><br><br></span><span style=3D"color=
:#800" class=3D"m_-3720303745785001123styled-by-prettify">// Definition in =
another header file.</span><span style=3D"color:#000" class=3D"m_-372030374=
5785001123styled-by-prettify"><br></span><span style=3D"color:#008" class=
=3D"m_-3720303745785001123styled-by-prettify">template</span><span style=3D=
"color:#660" class=3D"m_-3720303745785001123styled-by-prettify">&lt;</span>=
<span style=3D"color:#008" class=3D"m_-3720303745785001123styled-by-prettif=
y">typename</span><span style=3D"color:#000" class=3D"m_-372030374578500112=
3styled-by-prettify"> T</span><span style=3D"color:#660" class=3D"m_-372030=
3745785001123styled-by-prettify">&gt;</span><span style=3D"color:#000" clas=
s=3D"m_-3720303745785001123styled-by-prettify"> </span><span style=3D"color=
:#008" class=3D"m_-3720303745785001123styled-by-prettify">class</span><span=
 style=3D"color:#000" class=3D"m_-3720303745785001123styled-by-prettify"> <=
/span><span style=3D"color:#606" class=3D"m_-3720303745785001123styled-by-p=
rettify">CudaImage</span><span style=3D"color:#000" class=3D"m_-37203037457=
85001123styled-by-prettify"> </span><span style=3D"color:#660" class=3D"m_-=
3720303745785001123styled-by-prettify">{</span><span style=3D"color:#000" c=
lass=3D"m_-3720303745785001123styled-by-prettify"><br></span><span style=3D=
"color:#660" class=3D"m_-3720303745785001123styled-by-prettify">};</span><s=
pan style=3D"color:#000" class=3D"m_-3720303745785001123styled-by-prettify"=
><br><br></span><span style=3D"color:#008" class=3D"m_-3720303745785001123s=
tyled-by-prettify">using</span><span style=3D"color:#000" class=3D"m_-37203=
03745785001123styled-by-prettify"> </span><span style=3D"color:#606" class=
=3D"m_-3720303745785001123styled-by-prettify">FloatImage</span><span style=
=3D"color:#000" class=3D"m_-3720303745785001123styled-by-prettify"> </span>=
<span style=3D"color:#660" class=3D"m_-3720303745785001123styled-by-prettif=
y">=3D</span><span style=3D"color:#000" class=3D"m_-3720303745785001123styl=
ed-by-prettify"> </span><span style=3D"color:#606" class=3D"m_-372030374578=
5001123styled-by-prettify">CudaImage</span><span style=3D"color:#080" class=
=3D"m_-3720303745785001123styled-by-prettify">&lt;float&gt;</span><span sty=
le=3D"color:#660" class=3D"m_-3720303745785001123styled-by-prettify">;</spa=
n><span style=3D"color:#000" class=3D"m_-3720303745785001123styled-by-prett=
ify"><br></span></div></code></div><br><br>Godbolt:=C2=A0<a href=3D"https:/=
/godbolt.org/g/mmTTeQ" target=3D"_blank">https://godbolt.org/<wbr>g/mmTTeQ<=
/a> shows that all compilers reject this.</div><div><br></div><div>This has=
=C2=A0 created a fair amount of trouble for me when trying to refactor what=
 was previously a FloatImage class to a generic pixel type template. I don&=
#39;t see the logic to making this</div><div>illegal as FloatImage is still=
 the name of a class, i.e. an instance of the CudaImage class template.</di=
v><div><br></div><div>While I can update the forward declaration to:</div><=
div class=3D"m_-3720303745785001123prettyprint" style=3D"background-color:r=
gb(250,250,250);border-color:rgb(187,187,187);border-style:solid;border-wid=
th:1px;word-wrap:break-word"><code class=3D"m_-3720303745785001123prettypri=
nt"><div class=3D"m_-3720303745785001123subprettyprint"><span style=3D"colo=
r:#800" class=3D"m_-3720303745785001123styled-by-prettify">// forward decla=
ration in one header file.</span><span style=3D"color:#000" class=3D"m_-372=
0303745785001123styled-by-prettify"><br></span><span style=3D"color:#008" c=
lass=3D"m_-3720303745785001123styled-by-prettify">template</span><span styl=
e=3D"color:#660" class=3D"m_-3720303745785001123styled-by-prettify">&lt;</s=
pan><span style=3D"color:#008" class=3D"m_-3720303745785001123styled-by-pre=
ttify">typename</span><span style=3D"color:#000" class=3D"m_-37203037457850=
01123styled-by-prettify"> T</span><span style=3D"color:#660" class=3D"m_-37=
20303745785001123styled-by-prettify">&gt;</span><span style=3D"color:#000" =
class=3D"m_-3720303745785001123styled-by-prettify"> </span><span style=3D"c=
olor:#008" class=3D"m_-3720303745785001123styled-by-prettify">class</span><=
span style=3D"color:#000" class=3D"m_-3720303745785001123styled-by-prettify=
"> </span><span style=3D"color:#606" class=3D"m_-3720303745785001123styled-=
by-prettify">CudaImage</span><span style=3D"color:#660" class=3D"m_-3720303=
745785001123styled-by-prettify">;</span><span style=3D"color:#000" class=3D=
"m_-3720303745785001123styled-by-prettify"><br></span><span style=3D"color:=
#008" class=3D"m_-3720303745785001123styled-by-prettify">using</span><span =
style=3D"color:#000" class=3D"m_-3720303745785001123styled-by-prettify"> </=
span><span style=3D"color:#606" class=3D"m_-3720303745785001123styled-by-pr=
ettify">FloatImage</span><span style=3D"color:#000" class=3D"m_-37203037457=
85001123styled-by-prettify"> </span><span style=3D"color:#660" class=3D"m_-=
3720303745785001123styled-by-prettify">=3D</span><span style=3D"color:#000"=
 class=3D"m_-3720303745785001123styled-by-prettify"> </span><span style=3D"=
color:#606" class=3D"m_-3720303745785001123styled-by-prettify">CudaImage</s=
pan><span style=3D"color:#080" class=3D"m_-3720303745785001123styled-by-pre=
ttify">&lt;float&gt;</span><span style=3D"color:#660" class=3D"m_-372030374=
5785001123styled-by-prettify">;</span><span style=3D"color:#000" class=3D"m=
_-3720303745785001123styled-by-prettify"><br></span></div></code></div><div=
><div><br>This seems to be an unnecessary leakage of implementation detail.=
</div><div><br></div><div>so is there a technical reason preventing this fr=
om being allowed or is it just an oversight that could be corrected?</div><=
span class=3D"HOEnZb"><font color=3D"#888888"><div><br></div></font></span>=
</div></div></div></div><span class=3D"HOEnZb"><font color=3D"#888888">

<p></p>

-- <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" target=3D"_=
blank">std-proposals+unsubscribe@<wbr>isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org" target=3D"_blank">std-proposals@isocpp.org</a>.<br>
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/b2fb570b-aadb-423e-9821-025cb447cf60%=
40isocpp.org?utm_medium=3Demail&amp;utm_source=3Dfooter" target=3D"_blank">=
https://groups.google.com/a/<wbr>isocpp.org/d/msgid/std-<wbr>proposals/b2fb=
570b-aadb-423e-<wbr>9821-025cb447cf60%40isocpp.org</a><wbr>.<br>
</font></span></blockquote></div><br><br clear=3D"all"><br>-- <br><div clas=
s=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><=
div><div dir=3D"ltr"><font color=3D"#c0c0c0"><i>Brian Bi</i></font><br><div=
></div><div></div><div></div></div></div></div></div>
</div>

<p></p>

-- <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 />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/CAMmfjbNwyrk7D3wFqe7xxrOwED0AVMLz5_P9=
m1%3DS2WunjM1Lqg%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">h=
ttps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAMmfjbNwyrk7D3=
wFqe7xxrOwED0AVMLz5_P9m1%3DS2WunjM1Lqg%40mail.gmail.com</a>.<br />

--0000000000001b98b9056fcec3d8--

.
