J
Jim Langston
Microsoft Visual C++ .net 2003. I was just curious what numeric_limits for
std::string would give me so wrote this:
#include <iostream>
#include <string>
#include <limits>
int main()
{
std::cout << std::numeric_limits<std::string>::max() << '\n';
}
When I run it I get an access violation reading location 0x00000000
I couldn't quite figure out why however. Any thoughts?
std::string would give me so wrote this:
#include <iostream>
#include <string>
#include <limits>
int main()
{
std::cout << std::numeric_limits<std::string>::max() << '\n';
}
When I run it I get an access violation reading location 0x00000000
I couldn't quite figure out why however. Any thoughts?