title: ChaiScript and STL
body: <p>I am trying to use a <code>std::list&lt;arnAddr&gt;</code> (arnAddr being a custom Struct) in a Chai scriptfile.
  But I get an error during parsing : </p>
  
  <pre><code>Error: "Missing clone or copy constructor for right hand side of equation" With parameters: (NSt3__14listIN3arn7arnAddrENS_9allocatorIS2_EEEE)`
  </code></pre>
  
  <p>I am adding the following to the chai parser : </p>
  
  <pre><code>ChaiScript interpreter;
  interpreter.add(user_type&lt;arnAddr&gt;(), "Address");
  interpreter.add(bootstrap::basic_constructors&lt;arnAddr&gt;("Address"));
  interpreter.add(constructor&lt;arnAddr(const int, const int)&gt;(), "Address");
  interpreter.add(constructor&lt;arnAddr(arnIP, arnPort)&gt;(), "Address");
  interpreter.add(fun(&amp;Database::getGroup, database), "group"); 
  // std::list&lt;arnAddr&gt;&amp; getGroup(); is the prototype
  </code></pre>
  
  <p>The script file is very simple and just contains <code>var group = group();</code></p>
  
  <p>What I get from the error message is, that Chaiscript does not know how to copy construct a <code>std::list&lt;arnAddr&gt;</code>. But how do I fix that?</p>