Topic: Any news about restrict keyword for C++?
Author: Alexander Zaitsev <zamazan4ik@gmail.com>
Date: Wed, 1 Aug 2018 11:44:10 -0700 (PDT)
Raw View
------=_Part_32_827176098.1533149050879
Content-Type: multipart/alternative;
boundary="----=_Part_33_1909321181.1533149050879"
------=_Part_33_1909321181.1533149050879
Content-Type: text/plain; charset="UTF-8"
Hello,
I think you know about 'restrict' keyword from C. And you know we haven't
it in C++, only as compiler-specific extensions.
I found a paper which describes couple of problems with integrating
restrict keyword into C++:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3635.pdf
But I didn't find anything newer. Is there any progress on this question
during last 5 years?
--
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/bd3f5e8e-7b6d-4ad4-a852-e96f9dc0f883%40isocpp.org.
------=_Part_33_1909321181.1533149050879
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hello,<div>I think you know about 'restrict' keywo=
rd from C. And you know we haven't it in C++, only as compiler-specific=
extensions.</div><div>I found a paper which describes couple of problems w=
ith integrating restrict keyword into C++:=C2=A0<a href=3D"http://www.open-=
std.org/jtc1/sc22/wg21/docs/papers/2013/n3635.pdf">http://www.open-std.org/=
jtc1/sc22/wg21/docs/papers/2013/n3635.pdf</a></div><div>But I didn't fi=
nd anything newer. Is there any progress on this question during last 5 yea=
rs?</div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals" 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/bd3f5e8e-7b6d-4ad4-a852-e96f9dc0f883%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/bd3f5e8e-7b6d-4ad4-a852-e96f9dc0f883=
%40isocpp.org</a>.<br />
------=_Part_33_1909321181.1533149050879--
------=_Part_32_827176098.1533149050879--
.
Author: Vishal Oza <vickoza@gmail.com>
Date: Wed, 1 Aug 2018 12:53:19 -0700 (PDT)
Raw View
------=_Part_136_854307245.1533153199409
Content-Type: multipart/alternative;
boundary="----=_Part_137_1301636446.1533153199409"
------=_Part_137_1301636446.1533153199409
Content-Type: text/plain; charset="UTF-8"
I am not sure if there was an effort to put restrict into the standard and
make all compiler support restrict , but I know that C++ AMP uses
restrict to allow code to be general for gpu and cpu platforms.
On Wednesday, August 1, 2018 at 1:44:11 PM UTC-5, Alexander Zaitsev wrote:
>
> Hello,
> I think you know about 'restrict' keyword from C. And you know we haven't
> it in C++, only as compiler-specific extensions.
> I found a paper which describes couple of problems with integrating
> restrict keyword into C++:
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3635.pdf
> But I didn't find anything newer. Is there any progress on this question
> during last 5 years?
>
--
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/4cb6484b-f2d8-4ea8-b6c5-f9a59659a24b%40isocpp.org.
------=_Part_137_1301636446.1533153199409
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">I am not sure if there was an effort to put restrict into =
the standard and make all compiler support restrict=C2=A0, but I know that =
C++ AMP uses restrict=C2=A0to allow code to be general for gpu and cpu plat=
forms.<br><br>On Wednesday, August 1, 2018 at 1:44:11 PM UTC-5, Alexander Z=
aitsev wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-le=
ft: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr">=
Hello,<div>I think you know about 'restrict' keyword from C. And yo=
u know we haven't it in C++, only as compiler-specific extensions.</div=
><div>I found a paper which describes couple of problems with integrating r=
estrict keyword into C++:=C2=A0<a href=3D"http://www.open-std.org/jtc1/sc22=
/wg21/docs/papers/2013/n3635.pdf" target=3D"_blank" rel=3D"nofollow" onmous=
edown=3D"this.href=3D'http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.o=
pen-std.org%2Fjtc1%2Fsc22%2Fwg21%2Fdocs%2Fpapers%2F2013%2Fn3635.pdf\x26sa\x=
3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHEKzzSRVF7ZA1BihkjzqZhz-9lZw';return t=
rue;" onclick=3D"this.href=3D'http://www.google.com/url?q\x3dhttp%3A%2F=
%2Fwww.open-std.org%2Fjtc1%2Fsc22%2Fwg21%2Fdocs%2Fpapers%2F2013%2Fn3635.pdf=
\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHEKzzSRVF7ZA1BihkjzqZhz-9lZw';=
return true;">http://www.open-std.org/<wbr>jtc1/sc22/wg21/docs/papers/<wbr>=
2013/n3635.pdf</a></div><div>But I didn't find anything newer. Is there=
any progress on this question during last 5 years?</div></div></blockquote=
></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals" 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/4cb6484b-f2d8-4ea8-b6c5-f9a59659a24b%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/4cb6484b-f2d8-4ea8-b6c5-f9a59659a24b=
%40isocpp.org</a>.<br />
------=_Part_137_1301636446.1533153199409--
------=_Part_136_854307245.1533153199409--
.