Skip to content

emplace doesn't warn about private constructors #10588

@jibal

Description

@jibal

emplace could do a much better job of detecting the reasons for failure, but this seems like an obvious one
(though the check isn't entirely trivial because you have to find the right ctor and check its visibility)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions