<div xmlns="http://www.w3.org/1999/xhtml"> </div><div xmlns="http://www.w3.org/1999/xhtml"> </div><div xmlns="http://www.w3.org/1999/xhtml">12.01.2019, 19:44, "Benito van der Zander" <benito@benibela.de>:</div><blockquote xmlns="http://www.w3.org/1999/xhtml" type="cite"><div><div>Hi,<br /> <p> something that appears  to help is to put units in the interface uses rather than the implementation uses.</p></div><div>When the unit mentioned in the interface uses, uses the first unit in its implementation uses, it can inline the functions from the first unit. Although I would have expected it to do the opposite.</div><div> </div><div>Unfortunately that does not help if the second unit needs to use types from the first unit in its interface<br />   <br />Best,<br />Benito</div></div></blockquote><div xmlns="http://www.w3.org/1999/xhtml"> </div><div xmlns="http://www.w3.org/1999/xhtml">Yes, I got it.</div><div xmlns="http://www.w3.org/1999/xhtml">The problem is that circular dependencies are too often happen in practice.</div><div xmlns="http://www.w3.org/1999/xhtml">The discussion is about how to make compiler inline function automatically even when circular dependencies exist.</div><div xmlns="http://www.w3.org/1999/xhtml"> </div><div xmlns="http://www.w3.org/1999/xhtml">-- <br />Regards,</div><div xmlns="http://www.w3.org/1999/xhtml">Denis Golovan</div><div xmlns="http://www.w3.org/1999/xhtml"> </div>