Skip to content

When bit_iterator<It1>::difference_type and bit_iterator<It2>::difference_type can be different? #9

@viboes

Description

@viboes

There are operations such as bit_iterator - bit_iterator that results in common_type of of the difference_types

friend constexpr typename std::common_type<

However the difference_type is not defined explicitly depending on the Iterator.

Does it means that bit_iterator<It> could depend on it It?
Why the wording doesn't require it to be It::diference_type?

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