Skip to content

Use std::optional for element value+value is set #282

@robUx4

Description

@robUx4

As noted in #111 that could be a good candidate to use more standard types, now that we moved to C++17. It would also make it impossible to dissociate the value set from the value that is set or not.

However it may cause some code issues depending how people read/write the values. This is also trickier to EbmlBinary which doesn't hold a simple value or even EbmlMaster on which we don't really read/write values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    abi-breakbreaks the ABI (e.g. programs linked against the library have to be recompiled)api-breakbreaks the API (e.g. programs using it will have to adjust their source code)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions