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

Should we stop talking about related types? #6651

Open
frederick-vs-ja opened this issue Nov 9, 2023 · 0 comments
Open

Should we stop talking about related types? #6651

frederick-vs-ja opened this issue Nov 9, 2023 · 0 comments

Comments

@frederick-vs-ja
Copy link
Contributor

frederick-vs-ja commented Nov 9, 2023

Currently we don't define "related type" as a term, and it has different meanings in different contexts. It may be confusing to use "related type" because some readers may think it should be a term and consistently refer to the same thing (see cplusplus/CWG#461).

Could you add references to the occurrences of "related types" here? Thanks.

@jensmaurer Sure, here are all 6 references/uses of the term that I could find.

  1. temp.class.general
  2. support.general
  3. char.traits.general
  4. re.req
    5 & 6) dcl.init.ref The example given in dcl.init.ref#5.4.4 has 2 uses of the term related type

Originally posted by @ranaanoop in cplusplus/CWG#461 (comment)

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

No branches or pull requests

1 participant