Is there a tool to count the number of methods defined in a header? This seems like something that people would want to do from time to time, but I’ve never heard of such a utility. I could roll my own (and it’d be quite easy to come up with something that works for me in this particular case), but I thought I’d try stackoverflow first 🙂
Thanks, Yi
Try this:
To list all functions in the file myfile.h . To count the number of functions in
deque.tcc: