It can, if I get careless and throw a std::string at it... whose default constructor makes an empty string.
Originally Posted by phantomotap
I just have to insert the binary representation of the filled object directly into the file to use the std::strings, std::vectors, std::map..etc.
However, this, an std::array works as expected:
auto& myarray = mf.get_obj<std::array<int,5>>(0); // 0 is the offset, in bytes.. replacing it with another no. works equally fine.
for(auto x : mf.get_obj<std::array<int,5>>(0))