Oh ok, this makes it much clearer now. On Fri, Jan 20, 2017 at 7:00 AM, Sudhanshu Ranjan <[email protected]> wrote:
> If I am not wrong, most probably armadillo's implementation of move > constructor takes care of that. > It convert it into a matrix of size 0*1. > You can have a look at : > https://github.com/conradsnicta/armadillo-code/blob/devel/ > include/armadillo_bits/Col_meat.hpp#L271 > and at http://pastebin.com/xTJXa3cC. > > Sudhanshu Ranjan > > > On Thu, Jan 19, 2017 at 10:30 PM, <[email protected]> wrote: > >> Send mlpack mailing list submissions to >> [email protected] >> >> To subscribe or unsubscribe via the World Wide Web, visit >> http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack >> or, via email, send a message with subject or body 'help' to >> [email protected] >> >> You can reach the person managing the list at >> [email protected] >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of mlpack digest..." >> >> >> Today's Topics: >> >> 1. Doubt regarding move constructor in det (Piyush Jaiswal) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Thu, 19 Jan 2017 22:14:35 +0530 >> From: Piyush Jaiswal <[email protected]> >> To: [email protected] >> Subject: [mlpack] Doubt regarding move constructor in det >> Message-ID: >> <[email protected] >> ail.com> >> Content-Type: text/plain; charset="utf-8" >> >> Hi, >> When calling the move constructor while moving one DTree to another DTree >> in det, >> *std::move* is used to move the value of the member variables - maxVals >> and >> minVals to the other DTree and then not initialized later on in the >> original DTree. Wouldn't this leave these values in an unspecified state >> when accessing them with the original DTree? >> >> Thanks, >> Piyush >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: <http://knife.lugatgt.org/pipermail/mlpack/attachments/20170 >> 119/77eb62e5/attachment-0001.html> >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> mlpack mailing list >> [email protected] >> http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack >> >> ------------------------------ >> >> End of mlpack Digest, Vol 35, Issue 4 >> ************************************* >> > > > _______________________________________________ > mlpack mailing list > [email protected] > http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack >
_______________________________________________ mlpack mailing list [email protected] http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack
