We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Variant implementation using variadic templates c++11
#include <iostream> #include <string> #include <mapbox/util/variant.hpp> int main() { using namespace mapbox; util::variant<int,double,std::string> var; var = 123; std::cerr << var << std::endl; return 0; }