От: | Marty | https://www.youtube.com/channel/UChp5PpQ6T4-93HbNF-8vSYg | |
Дата: | 08.10.24 18:49 | ||
Оценка: | -1 |
#include <iostream>
#include <string>
#include <unordered_map>
#include <map>
struct A
{
std::unordered_map<std::string, A> m;
//std::map<std::string, A> m;
};
int main()
{
A a;
a.m["aaa"] = A();
return 0;
}
error: 'std::pair<_T1, _T2>::second' has incomplete type