diff options
| author | Joe Loser <joeloser93@gmail.com> | 2021-10-27 17:12:33 -0400 |
|---|---|---|
| committer | Joe Loser <joeloser93@gmail.com> | 2021-10-27 17:12:42 -0400 |
| commit | c3cd5f5b4f8e78a04a49f5c1e40341110d21a593 (patch) | |
| tree | 54774e73bb69ed72ac31a981cc7b350b4652bc85 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 086e111216bc4fb8065aa7ef4bc226380d1c237e (diff) | |
[libc++][test] Fix invalid test for views::view_interface
The type `MoveOnlyForwardRange` violates the precondition stated in
`view.interface.general`. Specifically, the type passed to
`view_interface` shall model the `view` concept. In turn, this requires the
type to satisfy `movable` concept (and others), but this type
`MoveOnlyForwardRange` does not satisfy the `movable` concept.
Add a move assignment operator so that `MoveOnlyForwardRange` satisfies the
`movable` concept. While we're here, ensure the neighboring types that inherit
from `view_interface` also satisfy the `view` concept to avoid similar issues.
Fixes https://bugs.llvm.org/show_bug.cgi?id=50720
Reviewed By: Quuxplusone, Mordante, #libc
Differential Revision: https://reviews.llvm.org/D112631
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
