Hi
Does anyone know if there is an equivilent of std::stoi (string to Int) for use with wstring that I am missing?
Seems a bit odd that it would be ommitted from the library, but I cannot find anything.

Thank you for reading.

stoi() is overloaded to take a string or a wstring.

Of course it is, Duh! brain clog.
Time for sleep I think.

Thank you NathanOliver.

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.