The cancer-color proliferation also has created some quirky chromatic overlaps. Orange represents two cancers (kidney, leukemia). Green stands for three (liver, lymphoma gall bladder). Variations of purple signify six (pancreatic, testicular, leiomyosarcoma, Hodgkin lymphoma, stomach and esophageal).
If the container is empty, then begin() == end(); All standard iterator and container types behave the same in this regard: Â§23.2.1 [container.requirements.general] p6. begin() returns an iterator referring to the first element in the container.
In the example above, the method std::string::begin() returns a std::string::iterator, as with std::string::end(). The benefit is that you can use the std::transform algorithm. You can't use it with indices. â Thomas Matthews Jan 3 '10 at 20:12.