Skip to content

Conversation

@Vipul-Cariappa
Copy link
Collaborator

Used in cross-inheritance
Required for benchmarks.

TODO

  • Requires new tests at cppyy repo.

Depends On

requires test, used in cross-inheritance
CPPYY_IMPORT
std::string GetTypeAsString(TCppType_t type);
CPPYY_IMPORT
bool IsRValueReferenceType(TCppType_t type);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't that better to be getValueKind and returning an enum?

Copy link
Collaborator Author

@Vipul-Cariappa Vipul-Cariappa Nov 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we fix that API, too?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have fixed CppInterOp's API to return an enum. Will merge that PR soon, once the CI is green.
For cppyy, I propose we keep the API like this. Otherwise, we will need to forward the enum from cppyy-backend to CPyCppyy. That may not be the best thing to do.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure...

@Vipul-Cariappa Vipul-Cariappa merged commit 4d504ce into compiler-research:master Nov 28, 2025
49 of 58 checks passed
@Vipul-Cariappa Vipul-Cariappa deleted the fix/move-semantic-inheritance branch November 28, 2025 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants