Re: Should new code have forward declarations of static functions or not?

From: Christoph Hellwig
Date: Fri May 18 2018 - 12:09:59 EST


On Fri, May 18, 2018 at 12:44:31PM -0400, Simon Que wrote:
> Is it preferred to have forward declarations of static funcs, or to omit
> them altogether?

There are cases where you need them. But in general if you do not
absolutely need them try to avoid them.