
28 Apr
2012
28 Apr
'12
10:29 a.m.
On 27/04/12 02:07, Emil Dotchevski wrote:
You can safely static_cast a void pointer to a pointer of the dynamic type of the object the void pointer points.
I don't see how that's relevant. There is no provision in the standard to support the idea that the dynamic type of the array subobject in optinal<T> is T.