RohitSahni 15 Light Poster

Suppose while converting RWCString constructors to std::string constructors, i am getting following errors. Can anyone please povide me with the Porting Guide for this .error which i am getting :

Hash.h:23: error: 'const struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >' has no member named 'hash'
COArgs.cc: In member function `void COArgs::readStream(std::istream&)':
COArgs.cc:221: error: no match for call to `(std::string) (size_t&, char)'
COArgs.cc:222: error: no match for call to `(std::string) (unsigned int, unsigned int)'
COArgs.cc:251: error: no match for call to `(std::string) (int, size_t&)'
COArgs.cc:252: error: no match for call to `(std::string) (unsigned int, unsigned int)'
COArgs.cc:317: error: no match for call to `(std::string) (unsigned int, unsigned int)'

And also Rogue Wave Provides us with the Hash Function, Can anyone also tell me its equivlant in STL.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.