Skip to content

Exception when using lt<> and gt<> together / exclusive bounds<>? #243

Open
@sharminramli

Description

@sharminramli

Since bounds<> is inclusive I tried using lt<> and gt<> together to achieve an exclusive bounds check, but I get the following error:

[node-1] terminate called after throwing an instance of 'std::length_error'
[node-1]   what():  Exceeded upper bound

Is this something worth fixing or are there plans to add an exclusive bounds check?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions