Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
Description
Use of "forward declarations", e.g. "class Client;" adds brittleness to the codebase, because changing a class to a template means changing a potentially enormous number of files, or adding otherwise unnecessary scaffolding. It is better to collect such declarations into specialized headers, like "client_fwd.h", so they exist in just one place.