Skip to content

Dataset Open fails with string literal #156

Description

@BrianMichell

mdio::Dataset::Open("HelloWorld.mdio", mdio::constants::kOpen); does not (should not) compile.

Generally this shouldn't be an issue, but for trivial cases and one-offs it is poor UX.

Expand the S template to accept convertible.
Coerce the parameter internally to become std::string.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ImprovementSomething could be better

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions