[SERVER-26774] Replace forward declarations with forwarding headers Created: 25/Oct/16  Updated: 25/Sep/17  Resolved: 25/Sep/17

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Nathan Myers Assignee: Nathan Myers
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 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.



 Comments   
Comment by Nathan Myers [ 27/Oct/16 ]

https://evergreen.mongodb.com/version/581197e33ff1224553000126

Generated at Thu Feb 08 04:13:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.