mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 20:15:34 +00:00
It is useful to be able to call CreateSharedString with a string_view. A string_view can be implicitly converted from a std::string or a const char*. This means if string_view is available, we can use it instead of both other functions and get all 3.