#915 closed task (fixed)
Propose dropping ‘using namespace std‘
Reported by: | goatbar | Owned by: | goatbar |
---|---|---|---|
Priority: | minor | Milestone: | 3.10.0 |
Component: | Default | Version: | main |
Severity: | Unassigned | Keywords: | |
Cc: |
Description
Pulling in whole namespaces is now generally considered bad form. It pollutes the compilation unit and it is hard for the reader to know what to expect.
Are folks okay if I work through removing them?
https://stackoverflow.com/questions/1452721/why-is-using-namespace-std-considered-bad-practice
Change History (5)
comment:1 by , 6 years ago
comment:2 by , 3 years ago
Milestone: | → 3.10.0 |
---|
comment:4 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
I agree in what your mentioning, In fact, in the files I am working on, I am changing the:
to the set of classes used on the namespace