When is the Helper moved with RDataFrame::Book?

When using the Book function when is the Helper moved? Specifically, will it be moved after the Initialize function is called?

I guess @eguiraud can help you with this question.

Hi,
the user-provided helper is moved from when Book is invoked – it takes an rvalue reference.

Cheers,
Enrico

Is that the only time it’s moved?

I really wouldn’t know – since RDF has unique ownership of the helper, it’s allowed to move it around as much as it needs?

P.S.
you can check with a debugger or by putting a print statement in the move-constructor of your helper.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.