Skip to content

size() returns zero when it's not empty. #288

@Please-just-dont

Description

@Please-just-dont

Describe the bug

I don't know what this is but this looks like a bug:

ashvardanian::stringzilla::string my_string = "Hello";
std::cout << my_string.size() << std::endl; // PRINTS ZERO

Here is a minimal example repo.

I literally just took the latest the latest files, so it's the latest version. I am on Linux Mint.

Steps to reproduce

Here is a minimal example repo.

Expected behavior

size() isn't working.

StringZilla version

Latest

Operating System

Linux Mint 22.2

Hardware architecture

x86

Which interface are you using?

C++ bindings

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions