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

map_adaptor should specialise read_at_unchecked #94

Closed tcbrindle closed 1 year ago

tcbrindle commented 1 year ago

map_adaptor doesn't provide a specialisation of read_at_unchecked(), meaning that anyone requesting an unchecked read on a mapped sequence is going to end up getting a checked read on the underlying sequence and possibly less optimal code than they wanted.

tcbrindle commented 1 year ago

Fixed in #121