Listing 3: Extract from the test file
// Listing 3: Extract from the test file int test_int_to_string(int iterations) { performance_counter counter; int iRet = 0; for(int WARMUPS = 2; WARMUPS; --WARMUPS) { iRet = 0; counter.start(); for(int_type i = 0; i < (int_type)iterations; ++i) { char const *s = winstl::int_to_string<char>(i); iRet += (int)*s; } counter.stop(); } printf("int_to_string: %lldms\n", counter.get_milliseconds()); return iRet; }