Skip to content

ex13.44 about size and length function #813

Description

@relaxcn

in the ex13_44_47.h, the size and length function is different.

size_t size() const { return end - elements; }
size_t length() const { return end - elements - 1; }

But this website says that they return the same value, they are synonyms.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions