isUnreferenced Function

public function isUnreferenced(self)

Owners of objects should call isUnreferenced after releasing a pointer object. If true, the object should be deallocated and then set to point to NULL()

### Usage: ###

  IF ( v % isUnreferenced() )     THEN
     DEALLOCATE(v)
     v => NULL()
  END IF

Type Bound

FTObject

Arguments

Type IntentOptional Attributes Name
class(FTObject) :: self

Return Value logical