Skip to content

Support variant<void>, variant<T&> #34

@pdimov

Description

@pdimov

This as a side effect will make it possible to remove the result<void> specialization, and will obviate the need for a result<T&> specialization.

void will need to be replaced in variant_base with variant2::void_, and T& - with either std::reference_wrapper<T> or variant2::detail::refwrap<T>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions