Skip to content

structured bindings #57

@jamesdbrock

Description

@jamesdbrock

C++ has had structured bindings since C++17. https://en.cppreference.com/w/cpp/language/structured_binding

Right now hffix requires only C++98. If we were to bump that requirement to C++17, then we could design the API for structured bindings.

Then all of the field conversion methods could return tuples instead of passing the stupid return-by-reference arguments. https://jamesdbrock.github.io/hffix/classhffix_1_1field__value.html

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