I’m interested in the implementation of the reverse iterator with rbegin(), rend() and operator++ of the class string, I can’t find it in google, how can I do it? thanks in advance for any help or any link
I’m interested in the implementation of the reverse iterator with rbegin(), rend() and operator++
Share
You could look in the implementation header files. (e.g.
/usr/include/c++/4.1.2/stringon Linux). This will typically just pull in a load of other headers where the real meat lies, such asbits/basic_string.h.I don’t know where they reside for e.g. VC++, but you can usually just get Intellisense to find it by creating a
std::string, selecting it and pressing F12.