Skip to content

Convertible types need public default contructor #98

@ecorm

Description

@ecorm

Variant::to<CustomType>(CustomType& dest) current requires that CustomType be default-constructible. Try to make it so CustomType does not require a default constructor, or, at least, the public contructor can be private and access be granted via wamp::ConversionAccess.

For Variant::to<CustomType>(), make it so the public constructor can be private and access be granted via wamp::ConversionAccess.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions