www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - ConstCPP

reply Paulo Pinto <pjmlp progtools.org> writes:
Hi,

this might be interesting for some of you, and also bring
ideas how D works.

Someone got around creating a C++ compiler (modified Clang),
where everything is const by default and mutable is explicit.

https://bitbucket.org/grrussel/constcpp/wiki/Home

--
Paulo
Nov 17 2012
parent reply "Kagamin" <spam here.lot> writes:
~PartMutable() {}

dtors are const too?
Nov 17 2012
parent Paulo Pinto <pjmlp progtools.org> writes:
Am 17.11.2012 13:05, schrieb Kagamin:
 ~PartMutable() {}

 dtors are const too?
Don't know. I just saw the post in Reddit and decided to share it.
Nov 17 2012