[mlpack] Doubt regarding move constructor in det

Piyush Jaiswal piyush.jaiswal at st.niituniversity.in
Thu Jan 19 11:44:35 EST 2017


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/20170119/77eb62e5/attachment.html>


More information about the mlpack mailing list