title: C++ How to print this map std::map<int, pair<vector<pair<int, int>>, int>>
body: <p>I want to print pairs in map like:</p>
  
  <pre><code>std::map&lt;int, pair&lt;vector&lt;pair&lt;int, int&gt;&gt;, int&gt;&gt; Mymap;
  </code></pre>
  
  <p><strong>Example for data in this map:</strong></p>
  
  <pre><code>Mymap[0] = (0, ({ { 1, 3 }, { 1, 5 } }, 4))
  Mymap[1] = (1, ({ { 2, 3 }, { 3, 7 }, { 1, 3 } }, 8))
  </code></pre>
  
  <p>I want to print pairs like:</p>
  
  <pre><code>{ 1, 3 }, { 1, 5 } 
  { 2, 3 }, { 3, 7 }, { 1, 3 } 
  </code></pre>