Is there any possibility to shorten this declaration as I use it very often in my code
For example, I use this to cast Object
to my CustomObject
using
dynamic_cast/static_cast<TCustomClassName*>(SenderObject)
Is there any possibility at all to shorten this using typedef static_cast<TCustomClassName*>
or something like this making sure it's possible using cast operator in typedef
?