<DIV>Do we have dedicated mailing list for boost.python. please give me the information. </DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks <BR><BR><B><I>Jack Nguyen &lt;bluekite2000@gmail.com&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">I m trying to build a matrix and m having compile error w/ thei following codes<BR>mpD=boost::shared_array<boost::shared_array<T> &gt;(new <BR>boost::shared_array<T>[cols]);<BR>mpD[0]=boost::shared_array<T>(new T[rows*cols]);<BR>for (int i=1; i<COLS;I++)<BR> mpD[i]=mpD[0]+i*rows;<BR>Seems like there s no match for operator+<BR>Regards,<BR><BR>On 6/16/05, Cory Nelson <PHROSTY@GMAIL.COM>wrote:<BR>&gt; mpD=boost::shared_array<T>(new T[size]);<BR>&gt; <BR>&gt; On 6/16/05, Jack Nguyen <BLUEKITE2000@GMAIL.COM>wrote:<BR>&gt; &gt; I currently have<BR>&gt; &gt;<BR>&gt; &gt; template <TYPENAME T><BR>&gt; &gt; class Vector<BR>&gt; &gt; {<BR>&gt; &gt; private:<BR>&gt; &gt; int Size;<BR>&gt; &gt; boost::shared_array<T> mpD;<BR>&gt; &gt;<BR>&gt; &gt; void VecAlloc( int size)<BR>&gt; &gt; {<BR>&gt; &gt;<BR>&gt; &gt; boost::shared_array<T> mpD_temp(new T[size]);<BR>&gt; &gt; mpD=mpD_temp;<BR>&gt;
 &gt; }<BR>&gt; &gt;<BR>&gt; &gt; public:<BR>&gt; &gt; Vector()<BR>&gt; &gt; {<BR>&gt; &gt; }<BR>&gt; &gt; Vector(int size)<BR>&gt; &gt; :Size(size)<BR>&gt; &gt; {<BR>&gt; &gt; VecAlloc(size);<BR>&gt; &gt; }<BR>&gt; &gt; }<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; My question is how do i get rid of boost::shared_array<T> mpD_temp(new<BR>&gt; &gt; T[size]); ???<BR>&gt; &gt;<BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; Boost-users mailing list<BR>&gt; &gt; Boost-users@lists.boost.org<BR>&gt; &gt; http://lists.boost.org/mailman/listinfo.cgi/boost-users<BR>&gt; &gt;<BR>&gt; <BR>&gt; <BR>&gt; --<BR>&gt; Cory Nelson<BR>&gt; http://www.int64.org<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; Boost-users mailing list<BR>&gt; Boost-users@lists.boost.org<BR>&gt; http://lists.boost.org/mailman/listinfo.cgi/boost-users<BR>&gt;<BR><BR>_______________________________________________<BR>Boost-users mailing
 list<BR>Boost-users@lists.boost.org<BR>http://lists.boost.org/mailman/listinfo.cgi/boost-users<BR></BLOCKQUOTE></boost::shared_array<T><p>
		<hr size=1>Yahoo! Sports<br> 
<a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=33539/*http://football.fantasysports.yahoo.com?ovchn=YAH&ovcpn=Integration&ovcrn=Mail+footer&ovrfd=YAH&ovtac=AD ">Rekindle the Rivalries. Sign up for Fantasy Football</a>