0

I have a QMap<QString, QMultiMap<int, QString> > data;

if I say data.value(key); -> what will be the return value if value with that key is not present ?

Thanks in advance.

juanchopanza
  • 223,364
  • 34
  • 402
  • 480
NDestiny
  • 1,133
  • 1
  • 12
  • 28

1 Answers1

1

A default constructed QMultiMap<int, QString> i.e. an empty multimap.

cmannett85
  • 21,725
  • 8
  • 76
  • 119