Exemple #1
0
 /**
  * We are constructible from boost::serialization::array<T>
  * Makes a shallow copy in order to keep the reference to
  * the original data.
  * @param orig
  */
 carray( boost::serialization::array<T> const& orig)
 : m_t( orig.address() ), m_element_count( orig.count() ) {
     if (m_element_count == 0)
         m_t = 0;
 }
 void load_override(const boost::serialization::array<T> &t, int)
 {
     boost::serialization::array<T> tmp(t.address(), t.count());
     *this >> tmp;
 }