Skip to content

using namespace std in header file #1

@FalcoGer

Description

@FalcoGer

It is horrible practice to put

using namespace std;

into header files. It's bad practice altogether to use namespace std, but using namespace is a very bad idea in header files. Because you don't know where it might end up being included. And since #include is basically a code copy and paste, very bad results may occur.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions