-
-
Notifications
You must be signed in to change notification settings - Fork 264
Open
Labels
enhancementNew feature or requestNew feature or request
Description
when variant is declared without initialisation default constructor of variant construct with first data type mentioned. so can we include this in .
for example currently
variant <int, string> v; is compiled to
std::variant<int, std::basic_string<char> > v = std::variant<int, std::basic_string<char> >();.
but can we implement something like
std::variant <int, std::basic_string<char> > v = std::variant<int, std::basic_string<char> ><int, 0>(); which is more similar to MSVC compilation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request