How can i print only once using stl

how can i print only once using stl