hkaiser changed the topic of #ste||ar to: STE||AR: Systems Technology, Emergent Parallelism, and Algorithm Research | stellar-group.org | HPX: A cure for performance impaired parallel applications | github.com/STEllAR-GROUP/hpx | This channel is logged: irclog.cct.lsu.edu
hkaiser has quit [Quit: Bye!]
K-ballo1 has joined #ste||ar
K-ballo has quit [Ping timeout: 252 seconds]
K-ballo1 is now known as K-ballo
Yorlik_ has joined #ste||ar
john98zakaria[m] has quit [Quit: You have been kicked for being idle]
hkaiser has joined #ste||ar
diehlpk_work has joined #ste||ar
K-ballo1 has joined #ste||ar
K-ballo has quit [Ping timeout: 244 seconds]
K-ballo1 is now known as K-ballo
Yorlik_ is now known as Yorlik
Yorlik has quit [Ping timeout: 268 seconds]
diehlpk_work has quit [Ping timeout: 244 seconds]
K-ballo1 has joined #ste||ar
K-ballo has quit [Ping timeout: 260 seconds]
K-ballo1 is now known as K-ballo
<gonidelis[m]> hkaiser: K-ballo am i allowed to use a variable after std::move?
<hkaiser> no
<hkaiser> well, you are allowed to destruct the object
<gonidelis[m]> but this works
<hkaiser> pure coincidence
<gonidelis[m]> there should some consequence, no?
<hkaiser> why?
<hkaiser> std::move doesn't move
<hkaiser> it just says that it's allowed to move
<gonidelis[m]> should be ^^
<hkaiser> and you don't move
<gonidelis[m]> yes
<gonidelis[m]> i dont? why?
<hkaiser> where do you move the vector?
<gonidelis[m]> when i pass it as a universal ref to the function?
<hkaiser> no, there you pass it as a reference, no move operation is performed
<gonidelis[m]> how do i enforce a move op
<gonidelis[m]> ?
<hkaiser> gonidelis[m]: you move whenever you construct a new instance using a move constructor
<hkaiser> gonidelis[m]: also, the variable's name should be moved_to, not moved_from