I'm trying to build some 3rd party code and I'm getting an error:
ValueToString.cpp:70: error: ‘std::basic_string::size_type’ is not a type
The offending code:
I don't see what the error is!Code:template <class T> static void ensureCapacity(std::basic_string<T>& buffer, std::basic_string<T>::size_type extraChars) { std::basic_string<T>::size_type requiredCapacity = buffer.length() + extraChars; if (requiredCapacity > buffer.capacity()) { buffer.reserve(2 * requiredCapacity); } }