I\'ve started learning C++, so I don\'t know in my lack of knowledge/experience why something so seemingly simple to a rookie as what I\'m about to describe isn\'t already i
In addition to what others mentioned about this syntax not being intuitive and therefore error prone, it also goes against a good design rule making general algorithms applied to various containers free functions, and container specific algorithms -- member functions. Most containers follow this rule, except std::string, which got a lot of flack from Herb Sutter for its monolithic design.