Skip to content

Dataset Open fails with string literal #156

@BrianMichell

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.

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