[ROOT] "std::string" in Root?

From: Ole Streicher (ole@ifh.de)
Date: Wed Sep 11 2002 - 09:36:39 MEST


Hello!

I already asked this, but the mail seems to be lost in space...

When I compile the class definition

#include <string>
#include <RTypes.h>
namespace my {
  class MyClass {
  public:
    int GetMe(std::string);
    ClassDef(MyClass, 1)
  };
}

I cannot use it from within root. It always tries to use "my::string"
as the parameter definition of GetMe, and thus I cannot call GetMe
with a string argument.

So, my question is how it is possible to use strings within root?

Ole



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:09 MET