Skip to content

Use full namespace prefix instead of "using" statement #269

Description

@UVCAD

There are many places use "using" statement to import namespace, it's easy to ruin the namespace. It's recommended to use full namespace prefix. The best practice is to use full namespace, remove all such code likes these:
using namespace Go;
using std::vector;
using std::swap;
using std::max;
using std::min;
using std::pair;
using std::make_pair;
using std::streamsize;
using std::endl;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions