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
<dkaratza[m]> <hkaiser> "dkaratza: I comitted a minor..." <- Much appreciated, I will take a look
<gonidelis[m]> tryina figure out an arbitary iterator's constructor ` _iterator(T* ptr) : ptr(ptr) {}` where `private: T* ptr;`
<gonidelis[m]> hkaiser: but the counting_output_iterator we checked has a `private: T& count;`
<gonidelis[m]> what's the difference between keeping T& and T*? I reckon since it's a counting iterator it needs to keep a reference to the counter (for it to be concise) while the generic iterator impl. just keeps a pointer to the given data type ptr....
<gonidelis[m]> (just thinking out loud here)
<gonidelis[m]> NO ASSIGNMENT OPERATOR REQUIRED? 0.0
<hkaiser> gonidelis[m]: holding a T& prevents copying the object
<gonidelis[m]> how?
<gonidelis[m]> it's just a reference to the internal counter
<hkaiser> what should happen when you try to copy a struct A { int& foo; };? you can copy construct such a thing, but not copy assign
<hkaiser> the workaround is to hold a pointer
hkaiser has quit [Quit: Bye!]
<gonidelis[m]> !
<gonidelis[m]> correct!
<gonidelis[m]> and what's the difference of an operatorX returning a reference_type and returning an iterator&
<gonidelis[m]> one returns a reference to the pointed data the other returns a reference to the iterator object itself?
K-ballo has quit [Ping timeout: 244 seconds]
K-ballo1 has joined #ste||ar
K-ballo1 is now known as K-ballo
Yorlik_ has joined #ste||ar
Yorlik_ is now known as Yorlik
hkaiser has joined #ste||ar
<hkaiser> satacker[m]: after merging your PR we now see: https://cdash.cscs.ch/viewBuildError.php?buildid=43534 (gcc-v12) - would you have the time to have a look?
<hkaiser> gcc-v11 has the same issue
<hkaiser> satacker[m]: there is also: https://cdash.cscs.ch/viewBuildError.php?buildid=43522 (clang v12)
K-ballo1 has joined #ste||ar
K-ballo has quit [Ping timeout: 260 seconds]
K-ballo1 is now known as K-ballo
tufei_ has quit [Remote host closed the connection]
tufei_ has joined #ste||ar
fred-jd[m] has joined #ste||ar
diehlpk_work has joined #ste||ar
Yorlik has quit [Ping timeout: 246 seconds]
<gonidelis[m]> hkaiser: does that have anything to do with what we’re looking for ? https://twitter.com/ericniebler/status/1586038741059371010?s=46&t=xnUiBTULtZ3foKIdccVw-Q
diehlpk_work has quit [Remote host closed the connection]
K-ballo1 has joined #ste||ar
K-ballo has quit [Ping timeout: 250 seconds]
K-ballo1 is now known as K-ballo
<hkaiser> gonidelis[m]: not sure, but it sounds like it
tufei_ has quit [Remote host closed the connection]
tufei_ has joined #ste||ar