Compile error C++: could not deduce template argument for 'T'
- by OneShot
I'm trying to read binary data to load structs back into memory so I can edit them and save them back to the .dat file.
readVector() attempts to read the file, and return the vectors that were serialized. But i'm getting this compile error when I try and run it. What am I doing wrong with my templates?
***** EDIT **************
Code:
//…