fix build with llvm-18 by changing Bytestring type to std::vector instead of deprecated std::basic_string<std::byte> (#369)

This commit is contained in:
George Evmenov
2025-03-02 07:23:40 +08:00
committed by GitHub
parent 1da93be27f
commit ec8c19fa3e
11 changed files with 19 additions and 26 deletions
+1 -6
View File
@@ -5,15 +5,10 @@
```cpp
namespace rfl {
using Bytestring = std::basic_string<std::byte>;
using Bytestring = std::vector<std::byte>;
}
```
For more information on how to handle `std::basic_string` please refer to the
relevant documentation:
https://en.cppreference.com/w/cpp/string/basic_string
Bytestrings are supported by BSON, CBOR, flexbuffers and msgpack. Textual formats
do not support them.