
    </p>

    <pre>

    class X {...};

    ...



    class_&lt;std::vector&lt;X&gt; &gt;("XVec")

        .def(vector_indexing_suite&lt;std::vector&lt;X&gt; &gt;())

    ;

</pre>

    <p>

      <tt>XVec</tt> is now a full-fledged Python container (see the

         <a href="../../test/vector_indexing_suite.cpp">example in full</a>,

         along with its <a href="../../test/vector_indexing_suite.py">python

         test</a>).

    </p>

    <hr>

    <h2>

      <a name="indexing_