Typescript Variable Within Stringstream Cppreference Snprintf