Skip to content

implicit, explicit, named conversions when dealing with emplacement #7

Description

@mwinterb

This is likely contentious, but in the guidelines table, should how the conversion interacts with emplacement in containers (and optional and variant) be considered for explicit vs named conversion function?
i.e.

vector<nanoseconds> v;
v.emplace_back(5);

Is that a desirable compilation for your class?

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