Topic: [proposal] - use keyword "using" to help create proxy classes.


Author: Victor Bogado <bogado@gmail.com>
Date: Sat, 22 Oct 2016 11:51:05 -0700 (PDT)
Raw View
------=_Part_1569_326511776.1477162265410
Content-Type: multipart/alternative;
 boundary="----=_Part_1570_1830470247.1477162265411"

------=_Part_1570_1830470247.1477162265411
Content-Type: text/plain; charset=UTF-8

Hi,

I'm new here, I'm a C++ enthusiastic that love the languange but as an
Android SDE I get few opportunities to actually work on the language it
self. Here is an idea that I thought would help making a lot of code more
simple to read and potentially help a lot when you need to create pimpl and
proxy classes.

Proxing methods with 'using'

there are a lot of cases when we want to create something like this :

template <typename T>
class pimpl {
    T impl;
public:

    pimpl(Args&&... args)




};



--
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/b67d34f1-9d4a-4266-aebf-fd22b179b660%40isocpp.org.

------=_Part_1570_1830470247.1477162265411
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<br><br>I&#39;m new here, I&#39;m a C++ enthusiastic th=
at love the languange but as an Android SDE I get few opportunities to actu=
ally work on the language it self. Here is an idea that I thought would hel=
p making a lot of code more simple to read and potentially help a lot when =
you need to create pimpl and proxy classes.<br><br><font size=3D"4"><font f=
ace=3D"arial,sans-serif">Proxing methods with &#39;using&#39;<br><font size=
=3D"2"><br>there are a lot of cases when we want to create something like t=
his : <br><font face=3D"arial,sans-serif"><br>template &lt;typename T&gt;<b=
r>class pimpl {<br>=C2=A0=C2=A0=C2=A0 T impl;<br>public:<br>=C2=A0<br>=C2=
=A0=C2=A0=C2=A0 pimpl(Args&amp;&amp;... args)<br><br><br><br>=C2=A0 =C2=A0 =
<br>};<br></font><br><br></font><br></font></font></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/b67d34f1-9d4a-4266-aebf-fd22b179b660%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/b67d34f1-9d4a-4266-aebf-fd22b179b660=
%40isocpp.org</a>.<br />

------=_Part_1570_1830470247.1477162265411--

------=_Part_1569_326511776.1477162265410--

.