U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » VectorMap iteration
VectorMap iteration [message #61773] Fri, 08 August 2025 12:06 Go to previous message
mdelfede is currently offline  mdelfede
Messages: 1310
Registered: September 2007
Ultimate Contributor
Hello,

Why
VectorMap<String, String> map;
for(const auto &[name, value] : map) {
....

Doesn't work ? I get this error:

C:\Users\massimo\Documents\upp\UppHub\SysExec\SysExec\SysExec.cpp (242): error C2248: 'Upp::String::len': impossibile accedere a private membro dichiarato nella classe 'Upp::String'


For Vector<String> works flawlessly...
 
Read Message
Read Message
Read Message
Previous Topic: include an excel file in the program
Next Topic: This is heap leak?
Goto Forum:
  


Current Time: Sat May 09 20:10:40 GMT+2 2026

Total time taken to generate the page: 0.00372 seconds