<p>Is not difficult to implement, as the compiler only needs to warn that the emission of /certain/ library calls /may/ cause heap allocations.<br></p>
<p>Regards. <br>
----<br>
Iain Buclaw</p>
<p>*(p < e ? p++ : p) = (c & 0x0f) + '0';</p>
<p>On 11 Sep 2012 11:31, "bearophile" <<a href="mailto:bearophileHUGS@lycos.com">bearophileHUGS@lycos.com</a>> wrote:<br>
><br>
> SomeDude:<br>
><br>
><br>
>> It's a bad solution imho. Monitoring the druntime and hunting every part that allocates until our codebase is correct like Benjamen Thaut is a much better solution<br>
><br>
><br>
> Why do you think such hunt is better than letting the compiler tell you what parts of your program have the side effects you want to avoid?<br>
><br>
> Bye,<br>
> bearophile<br>
</p>