company logo

GlobalVariable :: remove - Remove global variable

The function removes the global variable from the list of global variables. When the global variable does not exist, the function throws an exception. Removing a global variable will remove the variable only for the current thread.

// fragment

  GlobalVariable  userName("userName");

  if ( userName.exist() )

    userName.remove();

Implementation details

GlobalVariable  :: remove (  )