google / flatbuffers

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

fix(c++): add support to std::vector<bool, CustomAlloc> for CreateVector #8373

Open sssooonnnggg opened 3 months ago

sssooonnnggg commented 3 months ago

Support passing a vector<bool> with a CustomAllocator to CreateVector.

dbaileychess commented 3 months ago

Bunch of errors with this.

sssooonnnggg commented 3 months ago

Thank you for the review, the issue has been fixed.