I want to define a std::variant
that can store a vector of pairs, with strings and Values.
I want to create a structure like below:
typedef std::variant<bool, int, float, std::vector<std::pair<std::string, Value>>> Value;
How can I do it in C++17?