Skip to content

Types without constructors do not gain a make_unique #122

@adetaylor

Description

@adetaylor

If.a struct/class has a constructor, we generate a make_unique associated function. We don't do that for types which have no constructors. We (probably?) should at least for non-POD types, calling the default C++ constructor.

This may be difficult depending on whether we can find out that the type has a private non-default constructor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions