Skip to content

Support for multiple identical types? #40

@AnthonyVH

Description

@AnthonyVH

The current implementation of variant-lite does not support multiple identical types (i.e. nonstd::variant<int, int>). On the other hand, this works perfectly fine in C++17's std::variant.

Are there any plans to support this as well in variant-lite? If so, what exactly prevents it from working right now? I can't think of a technical issue implementing this in C++11, but I have no clue about C++98.

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