simple implication of STL string using c++