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
<K-ballo>
is_same tells whether two (cv-qual'd) types are the same type
<satacker[m]>
K-ballo: makes sense, it's like comparing Foo and Bar, initially I was confused because Foo = A<a,b> and Bar = A<b,a>
<gonidelis[m]>
so the question is why a variante of typeA, typeB is not the same as a variant of typeB,typeA
<K-ballo>
that's not an interesting question, they just aren't
<K-ballo>
and more generaly, A<a,b> and A<b,a> are not the same type unless a and b are
<gonidelis[m]>
that I get
<gonidelis[m]>
semantically it makes sense and is interesting to me
<K-ballo>
semantically?
<gonidelis[m]>
or at least i fail to understand its essence
<K-ballo>
note different variants aren't even compatible
<K-ballo>
you can't assign variant<int, float> to variant<float, int>, nor compare, nor.. despite that actually making semantic sense (while still being different types)