Topic: any interest in immutable class template?
Author: dan@soundradix.com
Date: Sun, 19 Mar 2017 04:23:03 -0700 (PDT)
Raw View
------=_Part_707_1038334890.1489922583660
Content-Type: multipart/alternative;
boundary="----=_Part_708_1749570407.1489922583660"
------=_Part_708_1749570407.1489922583660
Content-Type: text/plain; charset=UTF-8
Hi,
Would anyone be interested in adding an std::immutable class template to
the Standard Library?
I guess there would be many use-cases, there's at least one I've
encountered which is to differentiating between const references to
immutable vs. mutable objects. See Nicol Bolas's suggestion for an
implementation here <http://stackoverflow.com/a/41793446/125997>
Thanks,
Dan
--
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/4750d232-453c-4714-8ed4-2da4472ab26b%40isocpp.org.
------=_Part_708_1749570407.1489922583660
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hi,<div>Would anyone be interested in adding an std::immut=
able class template to the Standard Library?<div><br></div><div>I guess the=
re would be many use-cases, there's at least one I've encountered w=
hich is to differentiating between const references to immutable vs. mutabl=
e objects. See Nicol Bolas's suggestion for an implementation <a href=
=3D"http://stackoverflow.com/a/41793446/125997">here</a><br><div><br></div>=
</div><div>Thanks,</div><div>Dan</div></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/4750d232-453c-4714-8ed4-2da4472ab26b%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/4750d232-453c-4714-8ed4-2da4472ab26b=
%40isocpp.org</a>.<br />
------=_Part_708_1749570407.1489922583660--
------=_Part_707_1038334890.1489922583660--
.