ІК
Size: a a a
MI
MI
BT
VD
VD
BT
G
A
struct node
{
std::variant<int, std::vector<node>> value;//OK ssince c++17
};
// using node1 = std::variant<int, std::vector<node1>>;//won't compile
// typedef std::variant<int, std::vector<node1>>;//won't compile either
A
VT
VT
VT
A
VT
AP
A