Skip to content
New issue

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

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

Already on GitHub? # to your account

[dcl.link] p10 objects vs. entities #7386

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

xmh0511
Copy link
Contributor

@xmh0511 xmh0511 commented Nov 14, 2024

[dcl.link] p10 says:

Linkage from C++ to objects defined in other languages and to objects defined in C++ from other languages is implementation-defined and language-dependent.
Only where the object layout strategies of two language implementations are similar enough can such linkage be achieved.

The objects should be changed to entities, which includes both objects and functions for which the linkage is applied.

Linkage from C++ to entities defined in other languages and to entities defined in C++ from other languages is implementation-defined and language-dependent.

@jwakely
Copy link
Member

jwakely commented Nov 14, 2024

Please use the usual style as requested in https://github.com/cplusplus/draft/wiki/How-to-submit-an-editorial-issue

@xmh0511 xmh0511 changed the title objects vs. entities [dcl.link] p10 objects vs. entities Nov 14, 2024
@xmh0511
Copy link
Contributor Author

xmh0511 commented Nov 14, 2024

Please use the usual style as requested in https://github.com/cplusplus/draft/wiki/How-to-submit-an-editorial-issue

updated.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants