C++ Logo

std-proposals

Advanced search

[std-proposals] PROPOSAL: `back()` for sized, random-access `view_interface`

From: Daniel Pfeifer <wg21_at_[hidden]>
Date: Sun, 11 Oct 2026 14:47:12 +0200
While using `any_view`, I was surprised that `back()` cannot be made available with any combination of view options, because `view_interface::back()` is only provided for common views and `any_view` is never common.

There is only a small change necessary: https://purplekarrot.github.io/wg21-papers/d0000.html

Feedback or guidance how to proceed with that suggestion appreciated.

Received on 2026-10-11 12:47:32