Skip to content

Use of non-portable C header declarations #14

@YexuanXiao

Description

@YexuanXiao

Lines 107-108 use size_t and ptrdiff_t without the std:: prefix. According to the C++ standard, these typedefs aren't available in the global namespace.

using size_type = size_t;
using difference_type = ptrdiff_t;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions