template< class T >
Function( const T& object )
: CallbackBase( reinterpret_cast< void* >( new T( object ) ), // copy the object
- NULL, // uses operator() instead of member function
+ nullptr, // uses operator() instead of member function
reinterpret_cast< CallbackBase::Dispatcher >( &FunctorDispatcher2< T, P&, const PropertyInputContainer& >::Dispatch ),
reinterpret_cast< CallbackBase::Destructor >( &Destroyer< T >::Delete ) ),
mCopyConstructorDispatcher( reinterpret_cast< CopyConstructorDispatcher >( &ObjectCopyConstructorDispatcher< T >::Copy ) )
*/
CallbackBase* Clone()
{
- CallbackBase* callback = NULL;
+ CallbackBase* callback = nullptr;
if ( mImpl && mImpl->mObjectPointer && mCopyConstructorDispatcher )
{
callback = new Function( mCopyConstructorDispatcher( reinterpret_cast< UndefinedClass* >( mImpl->mObjectPointer ) ) /* Copy the object */,
*/
Function( CallbackBase::Function function )
: CallbackBase( function ),
- mCopyConstructorDispatcher( NULL )
+ mCopyConstructorDispatcher( nullptr )
{
}