title: C++ string formatting like Python "{}".format
body: <p>I am looking for a quick and neat way to print in a nice table format with cells being aligned properly.</p>
  
  <p>Is there a convenient way in c++ to create strings of substrings with certain length like python format</p>
  
  <pre><code>"{:10}".format("some_string")
  </code></pre>