In the down casting functions in GenericTensor, what's the difference 
between

   T* t = dynamic_cast<T*>(instance());

and

   T* t = dynamic_cast<T*>(this);
?

Is there much overhead associated with a dynamic cast?

Garth


_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to