Skip to content

Unary + and * should throw exceptions or be identity, unary - should be negation #60

@dgrnbrg

Description

@dgrnbrg

Currently, these functions are not well defined.

@vsergeev discovered that the errors are unintuitive.

This could be done with enhancements to the binopimpl macro to provide defaults for the unary cases, and then optional overrides.

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