[libc++][ranges] Fix `ranges::to` test.
authorKonstantin Varlamov <varconsteq@gmail.com>
Thu, 27 Jul 2023 22:24:15 +0000 (15:24 -0700)
committerTobias Hieta <tobias@hieta.se>
Sun, 27 Aug 2023 08:55:24 +0000 (10:55 +0200)
commitf63cdbcc0cdccf14ac699207be6226b40b1751f8
tree6ffd5612194b6c378ea9fc3c58fb62942e47bcdf
parent0521244b24745ecbd098a8b0e02786f177dcb539
[libc++][ranges] Fix `ranges::to` test.

- Make a test for an internal concept libc++-only;
- Make sure that `size` and `capacity` in a test container return the
  same type on all platforms.

(cherry picked from commit 8b9a98661b780a5b50d1d6a1f822d25e0c454382)
libcxx/test/std/ranges/range.utility/range.utility.conv/to.pass.cpp