The sense of pure functions isn't clear to me. What is the advantage of pure functions / methods?I inform the compiler with "const" that this method does not change the current object, and therefore he can optimize (at least in C++) this method. How and what optimized the compiler if i have "pure" or "const pure" functions / methods?
- pure functions/methods Namespace
- Re: pure functions/methods Ary Manzana
- Re: pure functions/methods Sean Cavanaugh
- Re: pure functions/methods Timon Gehr
- Re: pure functions/methods Namespace
- Re: pure functions/methods bearophile