Open JJeonHg opened 5 months ago
Could you add what the compiler error is?
I'm guessing it's a compile-time recursion error...
Quick question: Why would you want to do this? Why not just use std::string?
Previous system was char array. I want to know the field names and sizes of the structure
@JJeonHg , if you are deserializing this, it would expect an int array of exactly length 600. I don’t think this is what you were trying to accomplish.
The problem is that C Arrays are pretty annoying to handle, particularly in this context. I am not sure that there is a solution for this problem.
However, what I do know is that if you replace this by either std::string or std::array, it will work.
But I am going to think about it…maybe I can come up with a solution.