j
k
j a
j l
Felipe Magno de Almeida wrote:
......IMO we should be using static_cast<T2*>(static_cast<void*>(x)) which is not implementation-defined.
...IMO we should be using static_cast<T2*>(static_cast<void*>(x)) which is not implementation-defined.
IMO we should be using static_cast<T2*>(static_cast<void*>(x)) which is not implementation-defined.
This is, by the way, what optional does. Apparently, it isn't enough to avoid the warning.
Back to the thread
Back to the list