tcbrindle / flux

A C++20 library for sequence-orientated programming
https://tristanbrindle.com/flux/
Boost Software License 1.0
472 stars 29 forks source link

Re-add read_only_adaptor::move_at specialisation #118

Closed tcbrindle closed 1 year ago

tcbrindle commented 1 year ago

Since #97 this was falling back to map_adaptor::move_at(), which does the wrong thing in C++23 mode when the base element type is something like tuple<T&>.

Fixes #117

tcbrindle commented 1 year ago

@brevzin sorry for making read_only_adaptor a little less elegant again!