-
Notifications
You must be signed in to change notification settings - Fork 60
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
Add support for interface types #516
Merged
tmadlener
merged 12 commits into
AIDASoft:master
from
tmadlener:interface-types-variant
Jan 22, 2024
Merged
Add support for interface types #516
tmadlener
merged 12 commits into
AIDASoft:master
from
tmadlener:interface-types-variant
Jan 22, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Closed
7 tasks
21ac810
to
a72e767
Compare
a72e767
to
443a654
Compare
3f99856
to
29cac56
Compare
Julia code generation cannot really deal with interface types at the moment. I will probably just filter them out at generation time to make the tests pass here. |
Waiting on #527 to have a cleaner basis for adding interface types only for c++. |
7a86ce4
to
0c81511
Compare
c4aab0d
to
1bf3632
Compare
2 tasks
1bf3632
to
4cdb295
Compare
tmadlener
commented
Dec 18, 2023
b40fec3
to
0274858
Compare
Avoid collisions downstream
0274858
to
1c11678
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
BEGINRELEASENOTES
interfaces
. These can be used to provide a type that can be initialized from several other datatypes and offers some common functionality. These interface types can be used inOneToOneRelation
s and inOneToManyRelation
s.interfaces
need to provide a list of types which they interface. Other types cannot be used with them.ENDRELEASENOTES
Draft resurrection of #215 with the major difference that this no longer uses a
std::variant
of theObj*
types, but rather relies on a type-erased wrapping of the default handle types. Additionally, this also no longer supports mutable interface types, as I don't think we really have a use case for them.MaybeSharedPtr
for managing user facing objects #514 (builds directly on top of that)