this post was submitted on 22 May 2025
5 points (85.7% liked)
C++
2007 readers
3 users here now
The center for all discussion and news regarding C++.
Rules
- Respect instance rules.
- Don't be a jerk.
- Please keep all posts related to C++.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
honest question: what's the point of this? how is this better than std::ranges::to?
@bunitor @cm0002 And wonder what would be bad with a new constructor std::vector{view}? This would be short.
oh no, that makes sense. yet another single-argument constructor for vector would be an ambiguity nightmare