It seems that Go doesn't allow such conversion, notwithstanding the memory
layout is the same for A and B ?
So, I must convert each element to the target type into a new slice, as in
the two following snippets ?
Conversion A to B:
Conversion *A to *B:
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
For more options, visit https://groups.google.com/d/optout.