ScottishCovidResponse / SCRCIssueTracking

Central issue tracking repository for all repos in the consortium
6 stars 0 forks source link

Remove using namespace from headers #585

Open rwj11 opened 4 years ago

rwj11 commented 4 years ago

Having using namespace std; in header files goes against C++ coding guidelines

github-actions[bot] commented 4 years ago

Heads up @chrispooley @ianhinder - the "CoronaPMCMC" label was applied to this issue.

rwj11 commented 4 years ago

See https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rs-using-directive

ianhinder commented 4 years ago

Yes - this should be fixed, but it's low priority, as the code is using it ubiquitously and it's not intended to include its header files from other projects.