In the example on this page: https://en.cppreference.com/w/cpp/utility/variant there is an std::variant with a single template parameter:
std::variant<std::string> x("abc");
Since a variant allows to store an object which can belong to a set of different classes, what is the purpose of the previous line? Should not it be the same as:
std::string x("abc");