String has its own constructor and I strongly trust on people that have developed STL :) so I guess that that constructor is initializing correctly without "stack-driven randomness".