MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / TStringToLong

Method TStringToLong

deps/FtpClient/Definements.h:160–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158{
159public:
160 static long TStringToLong(const tstring& strIn)
161 {
162 TCHAR* pStopString = 0;
163 #ifdef _UNICODE
164 return wcstol(&*strIn.begin(), &pStopString, 10);
165 #else
166 return strtol(&*strIn.begin(), &pStopString, 10);
167 #endif
168 }
169
170 static std::string ConvertToString(const tstring& strIn)
171 {

Callers

nothing calls this directly

Calls 1

beginMethod · 0.45

Tested by

no test coverage detected