Is not difficult to implement, as the compiler only needs to warn that the emission of /certain/ library calls /may/ cause heap allocations.
Regards. ---- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0'; On 11 Sep 2012 11:31, "bearophile" <bearophileh...@lycos.com> wrote: > > SomeDude: > > >> 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 > > > 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? > > Bye, > bearophile