title: std::vector to boost::python::list
body: <p>I have a method in c++ that gets called from python and needs to return a python list object.</p>
  
  <p>I have already created the method, and its attached to an exposed class and callable from python right now... (it returns void).</p>
  
  <p>So the question is, how do I create a python list from this:</p>
  
  <p><code>std::vector&lt;std::string&gt; results;</code></p>
  
  <p>I am not really understanding how the constructor works from this documentation:</p>
  
  <p><a href="http://www.boost.org/doc/libs/1_37_0/libs/python/doc/v2/list.html">http://www.boost.org/doc/libs/1_37_0/libs/python/doc/v2/list.html</a></p>
  
  <p>Also... I don't really want to return kind of wrapped vector... I just want to create a new python list with the string values from the vector.</p>
  
  <p>My apologies if this is a duplicate... I found quite a few list to vector questions but I couldn't find any about creating a new python list.</p>
  
  <p>I could expand this question to include some other questions like:</p>
  
  <p>Creating a new python dictionary from a: <code>std::map&lt;std::string, std::string&gt;</code> and so on.</p>