Please, don't use STL code in headers (it doesn't work well with SWIG). In the implementation files it is fine.