Typescript Variable Within Stringstream Cpp