Skip to content

Compiling with msvc failed but with gcc succeeded. #82

@VirgilMa

Description

@VirgilMa

code is here.

class Val : public mpark::variant<bool, int, double, std::string, void*> {
public:
    using mpark::variant<bool, int, double, std::string, void*>::variant;
};

int main() {
    Val val;
    val = true;
    return 0;
}

Thank you so much for your time.

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