title: Tuples in C++ made properly. How to?
body: <p>I am quite new to C++ and it's getting annoying with all the red linings. My code (snippet) below works, but it keeps highlighting my <code>tuple</code> and <code>make_tuple</code> with the following warnings: <code>tuple is not a template</code> and <code>identifier &quot;make_tuple&quot; is undefined</code>, respectively. What does this mean?
  Do I have to define anything anywhere?</p>
  <p>I am using VS Code for Mac. So, Clang and I assume Xcode.</p>
  <pre><code>#include &lt;vector&gt;
  //other includes
  
  using namespace std;
  //code..
  tuple&lt;Gene*, int&gt; find(node* t, bitset&lt;10&gt; bf) {
  ----- // warning: tuple is not a template                       &lt;--- HERE
      if (something)
          if (match&gt;threshold) {
              return make_tuple(t-&gt;g, match);                   //&lt;--- AND HERE
                     ---------- // warning: identifier &quot;make_tuple&quot; is undefined
          }
          else {
              return make_tuple(nullptr,0);
          }
          //code.....
      }
  </code></pre>
  <p>Configuration:</p>
  <pre><code>{
      &quot;version&quot;: &quot;2.0.0&quot;,
      &quot;tasks&quot;: [
          {
              &quot;type&quot;: &quot;shell&quot;,
              &quot;label&quot;: &quot;clang++ build active file&quot;,
              &quot;command&quot;: &quot;/usr/bin/clang++&quot;,
              &quot;args&quot;: [
                  &quot;-std=c++17&quot;,
                  &quot;-stdlib=libc++&quot;,
                  &quot;-g&quot;,
                  &quot;${file}&quot;,
                  &quot;-o&quot;,
                  &quot;${fileDirname}/${fileBasenameNoExtension}&quot;
              ],
              &quot;options&quot;: {
                  &quot;cwd&quot;: &quot;${workspaceFolder}&quot;
              },
              &quot;problemMatcher&quot;: [
                  &quot;$gcc&quot;
              ],
              &quot;group&quot;: &quot;build&quot;
          }
  }
  </code></pre>