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

Missing paragraph number for Preconditions element [span.cons] p7/8 #3540

Closed
Dani-Hub opened this issue Dec 12, 2019 · 1 comment
Closed

Comments

@Dani-Hub
Copy link
Member

[span.cons] before p8 has a Preconditions element without own paragraph number:

7 Constraints: Let U be remove_reference_t<iter_reference_t>.
(7.1) — is_convertible_v<U()[], element_type()[]> is true. [Note: The intent is to allow only
qualification conversions of the iterator reference type to element_type. —end note]
(7.2) — It satisfies contiguous_iterator.
(7.3) — End satisfies sized_sentinel_for.
(7.4) — is_convertible_v<End, size_t> is false.
Preconditions:
(7.5) — If extent is not equal to dynamic_extent, then last - first is equal to extent.
(7.6) — [first, last) is a valid range.
(7.7) — It models contiguous_iterator.
(7.8) — End models sized_sentinel_for.

The Preconditions element should get a separate paragraph number (8), similarly the current bullets (7.5)-(7.8) need to be incremented accordingly

@jwakely
Copy link
Member

jwakely commented Dec 12, 2019

Thanks!

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

2 participants