Is there a way you can pull a docstring in c++? Kind of like python docstrings.
Even defining my own classes i forget what they do and have to look back at its documentation to revive my memory. It would make it simpler if i didnt have to go find the definition of that method, and just print its docstring for quick refernece.
Here would be an example of what i mean. Of course i could only think of making a whole new function named the same with the added _help() to accomodate the docstring style.
hmm not sure but thanks for the link, i will check it out. In the meantime, it appears that you cannot just grab all class variables, so you have to push each one into the vector? I used a vector instead of an array so i can use vector.size() with util.help(), so i dont have to send in the size when i call it, because i wouldnt know the size off hand anyways. The only pain in the ass thing then is it cannot dynamically add its docstrings to its attributes attr. it has to be manually added every time i add a new class member function. But i gue4ss its close as it can be?