Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lack support of overload resolution among multiple existing abstractions #53

Closed
mingxwa opened this issue Jan 3, 2024 · 0 comments
Closed
Assignees
Labels
enhancement New feature or request p1

Comments

@mingxwa
Copy link
Collaborator

mingxwa commented Jan 3, 2024

Consider the following C++ code without using proxy:

struct Base1 {
  virtual void f() = 0;
  virtual ~Base1() = default;
};
struct Base2 {
  virtual void f(int v) = 0;
  virtual ~Base2() = default;
};
struct CombinedBase : Base1, Base2 {};

While both Base1::f() and Base2::f(int) can be called with a single symbol f on a value of type CombinedBase, there is no equivalent facility in the proxy library.

@mingxwa mingxwa added enhancement New feature or request p1 labels Jan 3, 2024
@mingxwa mingxwa self-assigned this Jan 3, 2024
@mingxwa mingxwa closed this as completed Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p1
Projects
None yet
Development

No branches or pull requests

1 participant