Topic: Relaxe static data members


Author: HarD Gamer <rodrigojose690@gmail.com>
Date: Fri, 13 Jan 2017 04:16:01 -0800 (PST)
Raw View
------=_Part_545_1599776524.1484309761788
Content-Type: multipart/alternative;
 boundary="----=_Part_546_412585859.1484309761788"

------=_Part_546_412585859.1484309761788
Content-Type: text/plain; charset=UTF-8

Currentilly, only literal types can be  initialized in-class, but in the
future with Gabriel dos Reis' modules, programmers will prefer to write
header only libraries.

<https://lh3.googleusercontent.com/-wk6MyvKrc6o/WHjE-8mBa9I/AAAAAAAAASU/m7NaZfKpD48O2DQgZoUBI6Ag_lUnmXh1ACLcB/s1600/static_sorrizo.png>
As modules are compiled unities, you will no longer need to hide
implementations.

--
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/ec49532e-c31c-43b6-9c8d-105a81f5d606%40isocpp.org.

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

<div dir=3D"ltr">Currentilly, only literal types can be =C2=A0initialized i=
n-class, but in the future with Gabriel dos Reis&#39; modules, programmers =
will prefer to write header only libraries.<p class=3D"separator" style=3D"=
text-align: center; clear: both;"><a imageanchor=3D"1" href=3D"https://lh3.=
googleusercontent.com/-wk6MyvKrc6o/WHjE-8mBa9I/AAAAAAAAASU/m7NaZfKpD48O2DQg=
ZoUBI6Ag_lUnmXh1ACLcB/s1600/static_sorrizo.png" style=3D"margin-left: 1em; =
margin-right: 1em;"><img src=3D"https://lh3.googleusercontent.com/-wk6MyvKr=
c6o/WHjE-8mBa9I/AAAAAAAAASU/m7NaZfKpD48O2DQgZoUBI6Ag_lUnmXh1ACLcB/s320/stat=
ic_sorrizo.png" border=3D"0" style=3D"" width=3D"320" height=3D"226"></a></=
p><div>As modules are compiled unities, you=C2=A0<span style=3D"color: rgb(=
33, 33, 33); font-family: inherit; white-space: pre-wrap;"><font size=3D"2"=
>will no longer need to hide implementations.</font></span></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/ec49532e-c31c-43b6-9c8d-105a81f5d606%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/ec49532e-c31c-43b6-9c8d-105a81f5d606=
%40isocpp.org</a>.<br />

------=_Part_546_412585859.1484309761788--

------=_Part_545_1599776524.1484309761788--

.


Author: Thiago Macieira <thiago@macieira.org>
Date: Fri, 13 Jan 2017 09:10:52 -0800
Raw View
On sexta-feira, 13 de janeiro de 2017 04:16:01 PST HarD Gamer wrote:
> Currentilly, only literal types can be  initialized in-class, but in the
> future with Gabriel dos Reis' modules, programmers will prefer to write
> header only libraries.
>
> <https://lh3.googleusercontent.com/-wk6MyvKrc6o/WHjE-8mBa9I/AAAAAAAAASU/m7Na
> ZfKpD48O2DQgZoUBI6Ag_lUnmXh1ACLcB/s1600/static_sorrizo.png> As modules are
> compiled unities, you will no longer need to hide
> implementations.

Do inline variables help you with your problem?

--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

--
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/3479319.POPdRNEHV9%40tjmaciei-mobl1.

.