Skip to content
This repository was archived by the owner on Mar 30, 2021. It is now read-only.
This repository was archived by the owner on Mar 30, 2021. It is now read-only.

namespace scoping is not handled properly in function and template parameters #627

Open
@dkrupp

Description

@dkrupp

structural equivalence currently does not take namespace into consideration, but it should.

file: a.cc
namespace x{
class a;
}
void f(x::a);

file: imported.cc
namespace y{
class a;
}
void f(y::a);

The error is that f(x::a) is said to be equivalent with f(y::a)
and the import fails.

There is such error in bitcoin.

Metadata

Metadata

Assignees

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