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

[variant.visit]p3 What is mi? What is Variantsi? #4528

Open
burblebee opened this issue Feb 26, 2021 · 2 comments
Open

[variant.visit]p3 What is mi? What is Variantsi? #4528

burblebee opened this issue Feb 26, 2021 · 2 comments

Comments

@burblebee
Copy link
Contributor

burblebee commented Feb 26, 2021

mi is used but never specified. m is specified with "Let m be a pack of n values of type size_t" but it's not clear what mi is supposed to from that. We need text to introduce mi with something like:
for all $0 \leq i < n$, where $m_i$ is ...
Variantsi also needs an introduction (as johelegp points out).

@JohelEGP
Copy link
Contributor

Variantsi isn't defined either. But Variants and m both have in common that they're a pack. Perhaps the subclase needs an introduction along the lines of "Let _X_i be the ith element of the pack X".

@burblebee burblebee changed the title [variant.visit]p3 What is mi? [variant.visit]p3 What is mi? What is Variantsi? Feb 26, 2021
@tkoeppe
Copy link
Contributor

tkoeppe commented Mar 9, 2021

We've used the same notation elsewhere, e.g. for tuple. The subscript indexes the pack elements. See [tuple.cnstr]. Maybe similar wording is needed here?

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

3 participants