simple STL container transform functions