[SERVER-39863] remove global "using namespace std" directives Created: 27/Feb/19 Updated: 29/Oct/23 Resolved: 28/Feb/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.9 |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Billy Donahue | Assignee: | Billy Donahue |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Dev Tools 2019-03-11 | ||||
| Participants: | |||||
| Linked BF Score: | 78 | ||||
| Description |
|
We have a linter that complains about new "using namespace" instances. using namespace std; These can create conflicts or unintended lookup results between std:: and our code's names. They are also a bad precedent to leave in our codebase as style examples. We can just get rid of them with some quick win regex work. |
| Comments |
| Comment by Githook User [ 28/Feb/19 ] |
|
Author: {'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}Message: |
| Comment by Billy Donahue [ 28/Feb/19 ] |
|
fix macos and freebsd builds |
| Comment by Githook User [ 28/Feb/19 ] |
|
Author: {'name': 'Billy Donahue', 'username': 'BillyDonahue', 'email': 'billy.donahue@mongodb.com'}Message: |