K-ballo changed the topic of #ste||ar to: STE||AR: Systems Technology, Emergent Parallelism, and Algorithm Research | stellar.cct.lsu.edu | HPX: A cure for performance impaired parallel applications | github.com/STEllAR-GROUP/hpx | Buildbot: http://rostam.cct.lsu.edu/ | Log: http://irclog.cct.lsu.edu/
<K-ballo>
gnikunj[m]: don't do that..
<K-ballo>
mutable "copy" constructors make no sense
<gnikunj[m]>
why's that?
<K-ballo>
the semantic requirements of a copy constructor is that it doesn't mutate the source
<gnikunj[m]>
aah, so it MUST be a const
<K-ballo>
what are you actually trying to do?
<gnikunj[m]>
Umm, I wanted to copy in a way that actually mutates the elements
<K-ballo>
why?
<gnikunj[m]>
because I'm implementing vectors in charm++ and that requires me to work with their version of futures which is giving me some trouble
<gnikunj[m]>
I did find a solution to it now though
<gnikunj[m]>
so the question is more of general cpp knowledge at the moment :D
K-ballo has quit [Quit: K-ballo]
hkaiser has quit [Quit: bye]
RostamLog has joined #ste||ar
shahrzad has quit [Quit: Leaving]
bita has quit [Ping timeout: 256 seconds]
bita has joined #ste||ar
bita has quit [Ping timeout: 258 seconds]
<zao>
gnikunj[m]: If you're controlling the type and need to access a member in a mutable way in a const context, it's possible that the member should be declared `mutable`.
<zao>
Is the weird old decree that "const means thread-safe" still a thing by the way in the stdlib?
<gnikunj[m]>
zao gotcha
K-ballo has joined #ste||ar
hkaiser has joined #ste||ar
<tiagofg[m]>
Hello,
<tiagofg[m]>
I'm pretend to replicate openMP schedule dynamic in HPX, but I don't know if it's immediate using hpx::for_loop or if I have to add some code around. I saw in your documentation the primitives executor_parameter_traits and hpx::execution::dynamic_chunk_size but I didn't understand how to combine them