Skip to content

Do not using namespace even in function local #631

@yungyuc

Description

@yungyuc

We have using namespace detail in function local. It should not be allowed because it prevents a maintainer to quickly know which functions are from the lower namespace detail.

template <typename T>
void add(T * dest, T const * dest_end, T const * src1, T const * src2)
{
    using namespace detail;
    //...
}

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomersperformanceProfiling, runtime, and memory consumptionrefactorChange code without changing tests

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions