| 368 | |
| 369 | template <class TInt, int base, class TChar> |
| 370 | inline TInt IntFromString(const TChar* str) { |
| 371 | return IntFromString<TInt, base>(str, std::char_traits<TChar>::length(str)); |
| 372 | } |
| 373 | |
| 374 | template <class TInt, int base, class TStringType> |
| 375 | inline TInt IntFromString(const TStringType& str) { |