I know in ruby language there is a method called object.inspect can print all member's in object without override toString(Java) <<(in cpp),it's very usefull for debug print.
I want to know How to implment these function in c++ or is there has any library to do this? I'm newer to learn c++, hate to write too much templates for many diffent complex classes!
Thanks for any advise!