libstdc++: Reorder declarations of std::span members
authorJonathan Wakely <jwakely@redhat.com>
Tue, 18 Feb 2020 12:33:07 +0000 (12:33 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 18 Feb 2020 17:42:37 +0000 (17:42 +0000)
commitf09f32427b21127af0ec4c4a48dc9f3b0e696e59
treeccf420f7b0a8d331e7db8ea5f9307cc8b191759e
parentf5b4dc38852f755de9c48cb78a773ab4e84b8078
libstdc++: Reorder declarations of std::span members

I find it easier to work with this class when the declarations match the
order in the C++2a working paper.

There's no need to use long, descriptive template parameter names like
_ContiguousIterator when the parameter is already constrained by the
std::contiguous_iterator concept. This is also consistent with the
naming conventions in the working paper.

* include/std/span (span): Reorder members and rename template
parameters to match declarations in the C++2a working paper.
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/span