https://issues.dlang.org/show_bug.cgi?id=15110
Iain Buclaw <ibuc...@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ibuc...@gdcproject.org --- Comment #5 from Iain Buclaw <ibuc...@gdcproject.org> --- (In reply to Manu from comment #4) > Well, firstly, it should inline. > Secondly, it should never be an error if it's impossible to inline (it > should be a warning). > I disagree on point 2 here (it rightly should be an error). But then again we are talking about a behaviour that can't be regulated with our current choice of compiler technologies. So you'll have to accept that each will do it's own independent thing here. > Ie, exactly like __forceinline in C++. > There is no __forceinline in C++. :-) --