title: Initialize string with position of string vector
body: <p>I've a problem with this function. I want to initialize a string at the position i in a string vector.
  But i'm getting this error Message:</p>
  
  <pre><code>Invalid arguments '
  Candidates are:
   basic_string()
   basic_string(const std::allocator&lt;char&gt; &amp;)
   basic_string(const std::__cxx11::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt;&gt; &amp;)
   basic_string(const std::__cxx11::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt;&gt; &amp;, unsigned int, unsigned int)
   basic_string(const std::__cxx11::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt;&gt; &amp;, unsigned int, unsigned int, const std::allocator&lt;char&gt; &amp;)
   basic_string(const char *, unsigned int, const std::allocator&lt;char&gt; &amp;)
   basic_string(const char *, const std::allocator&lt;char&gt; &amp;)
   basic_string(unsigned int, char, const std::allocator&lt;char&gt; &amp;)
  </code></pre>
  
  <p>The function:</p>
  
  <pre><code>void File::readBinaryTreeHelper(Node *&amp;anchor, std::vector&lt;std::string&gt; list, int* i){
  
      std::string g = list[i];
  
      readBinaryTreeHelper(anchor-&gt;Vater, list, i+1);
      readBinaryTreeHelper(anchor-&gt;Mutter, list, i+1);
  
  }
  </code></pre>