I am in the process to use Core functionalities to rewrite my application, I have a couple of questions.
I use LoadFile() and noticed that is has no .close() method or something like that (it replaces a ifstream in c++ standard library and with it I have to open and close the file): my understanding is that I have not to open/close the stream as with ifstream; is my understanding correct?
There are a couple of functions that receive and return Upp::Vector<Upp::String> used as follows:
(MyApp.h)
Upp::Vector<Upp::String> SanitizeData(Upp::Vector<Upp::String> fields);
(MyApp.cpp)
Upp::Vector<Upp::String> fields;
(Here the Vector is filled in using data read from a file)
...
Upp::Vector<Upp::String> sanitized = SanitizeData(fields);
Previously, I used std::vector<std::string> and the application compiled, but now I get "error C2280: attempting to reference a deleted function".