-
Notifications
You must be signed in to change notification settings - Fork 769
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
placeholders::_2 is not indexed #5828
Comments
... and how many of those placeholder type names should we index? Just _1 and _2, or up to _10, because that's the minimum specified in [implimits]? |
Yeah, I don't know what's right, but it certainly seems weird that we explicitly mention _2 in two places and don't index it at all (and only index one occurrence of _1). |
How about the 0, 1, many principle? Either we index nothing, or just |
Users will see _1, _2, ..._10 in code (not more, because more is not portable), so I think we should index these in case someone seeks help in the standard to find out what this funny stuff is / does. It's just 3 places in total, so 10 x 3 items won't kill the indexer. |
OK, sure! |
We don't index appearances in the synopsis separately; we only index the definition. |
It appears in the [functional.syn] synopsis, and in [func.bind.isplace] and [func.bind.place].
placeholders::_1 is indexed, but only once, not for the appearance in [func.bind.isplace].
The text was updated successfully, but these errors were encountered: