I've googled, but can't find the answer. How do I list / find out all the variables used in a namespace? Specifically, I'd like to know the variables in the std namespace, since I use that one in my programs.
I'd like to use cout to display all the variable names in std, but I'm not sure how to get started retrieving the variable names.
C++ doesn't mix in-code names and variable names too well. Your only option afaik is to sift through the namespace by hand and compose a list of the items therein.