|
Boost Users : |
From: pankaj jain (pankaj_jain_101_at_[hidden])
Date: 2005-06-17 12:36:12
Do we have dedicated mailing list for boost.python. please give me the information.
thanks
Jack Nguyen <bluekite2000_at_[hidden]> wrote:
I m trying to build a matrix and m having compile error w/ thei following codes
mpD=boost::shared_array >(new
boost::shared_array[cols]);
mpD[0]=boost::shared_array(new T[rows*cols]);
for (int i=1; i mpD[i]=mpD[0]+i*rows;
Seems like there s no match for operator+
Regards,
On 6/16/05, Cory Nelson
wrote:
> mpD=boost::shared_array(new T[size]);
>
> On 6/16/05, Jack Nguyen wrote:
> > I currently have
> >
> > template
> > class Vector
> > {
> > private:
> > int Size;
> > boost::shared_array mpD;
> >
> > void VecAlloc( int size)
> > {
> >
> > boost::shared_array mpD_temp(new T[size]);
> > mpD=mpD_temp;
> > }
> >
> > public:
> > Vector()
> > {
> > }
> > Vector(int size)
> > :Size(size)
> > {
> > VecAlloc(size);
> > }
> > }
> >
> >
> > My question is how do i get rid of boost::shared_array mpD_temp(new
> > T[size]); ???
> >
> > _______________________________________________
> > Boost-users mailing list
> > Boost-users_at_[hidden]
> > http://lists.boost.org/mailman/listinfo.cgi/boost-users
> >
>
>
> --
> Cory Nelson
> http://www.int64.org
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
---------------------------------
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net