title: How can I serialize an std::vector with boost::serialization?
body: <pre><code>class workflow {
  
  private:
  friend class boost::serialization::access;
  
  template&lt;class Archive&gt;
  void serialize(Archive &amp; ar, const unsigned int version)
  {
    ar &amp; tasks;
    ar &amp; ID;
  }
  
   vector&lt;taskDescriptor&gt; tasks;
   int ID;
  </code></pre>
  
  <p>How can i serialize the member "tasks" using boost libraries?</p>