google / flatbuffers

FlatBuffers: Memory Efficient Serialization Library
https://flatbuffers.dev/
Apache License 2.0
23.16k stars 3.23k forks source link

[jumbo] Add begin()/end() to DetachedBuffer. #8370

Closed pkasting closed 1 month ago

pkasting commented 1 month ago

This allows this type to meet the requirements of e.g. std::ranges::range, which is necessary for it to work with the std::span range constructor, or the "non-legacy" constructor for Chromium's base::span.

Bug: none

pkasting commented 1 month ago

It doesn't look like the build failure here is related to this PR.