Skip to content

Cannot use decode with std::array #32

@theodelrieu

Description

@theodelrieu

Hello,

It seems you are forcing the Result template type to have a push_back method, which std::array doesn't have.

I was wondering if it would be easy to use the iterator range constructors of standard containers instead, to allow using a lot more container types.

I didn't dive into the code yet, do you think this is an easy change? If so, I could open a PR soon.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions