Skip to content

Conversation

@oldnewthing
Copy link
Member

This tickles an edge case in the metadata-based marshaller. Use an empty string instead.

This tickles an edge case in the metadata-based marshaller.
Use an empty string instead.
};

template <>
struct runtime_class_name<Windows::Foundation::IInspectable>
Copy link
Member Author

Choose a reason for hiding this comment

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

Note that name_of still returns Object, which is necessary for proper autogeneration of parameterized interfaces.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yep, that's kinda important. 😉

Copy link
Collaborator

@kennykerr kennykerr left a comment

Choose a reason for hiding this comment

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

Thanks!

@kennykerr kennykerr merged commit 18670d2 into master Apr 27, 2021
@kennykerr kennykerr deleted the force-empty-runtimeclass-name branch April 27, 2021 16:54
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.

4 participants