title: C++ - Conversion std::basic_string<char>
body: <p>Brace yourselves! C++ newbie question incoming:</p>
  
  <p>Can someone explain to me why this error occurs and how should I fix it?</p>
  
  <pre><code>std::vector&lt;std::string&gt; options = vectorOGROptions_.get()
  </code></pre>
  
  <p>I want to get <code>options</code> var as <code>std::vector&lt;std::string&gt;</code> but it seems my vectorOGROptions property returns a different type..</p>
  
  <pre><code>error: conversion from ‘const std::basic_string&lt;char&gt;’ to non-scalar type ‘std::vector&lt;std::basic_string&lt;char&gt; &gt;’ requested
  </code></pre>