StringZilla icon indicating copy to clipboard operation
StringZilla copied to clipboard

Bug:

Open toge opened this issue 1 year ago • 0 comments

Describe the bug

There are compilation errors on Standard C++ Containers with String Keys on README.md

sz::string_view_less, sz::string_view_hash and sz::string_view_equal seem not to be defined.

Steps to reproduce

#include <map>
#include <unordered_map>

#include "stringzilla/stringzilla.hpp"

int main() {
  auto a = std::map<ashvardanian::stringzilla::string, int>{};
  auto b = std::unordered_map<ashvardanian::stringzilla::string, int>{};
}

Expected behavior

There are no compilation error.

StringZilla version

3.9.6

Operating System

Fedora Linux 40

Hardware architecture

x86

Which interface are you using?

C++ bindings

Contact Details

No response

Are you open to being tagged as a contributor?

  • [X] I am open to being mentioned in the project .git history as a contributor

Is there an existing issue for this?

  • [X] I have searched the existing issues

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

toge avatar Oct 02 '24 08:10 toge