after I haven't found a simple wrapper class for the EEROM anywhere, I created a small class and want to share it. I intentionally didn't override the operators to keep the class as simple as possible and that you are aware EVERY time you assign a new value to the variable, because the EEPROM has a limited lifetime.
The point is that EEPROM.get() reads each time from the EEPROM and settings.getValue() returns only a variable. Furthermore, EEPROM.get() uses a for loop internally. This leads me to the conclusion that eeprom_read_block() is performing better.
No, you can uncomment the line #define USE_DEFAULT_VALUES, upload the program, comment the line again and upload the program a second time. You should then see a 5.
(Sorry for forgetting Serial.begin(), as I said: untested)
An array is basically only a pointer with a size. Therefore this is not possible. Maybe I can have a look later if there is something I can do. I have edited the code above. Thanks for the hint. As I said: untested.