Up Top       Prev MATH_CONSTANTS      Next MEMORY



class interface MEMO[E]
   -- This strange tiny class is useful to share a common volatile
   -- expanded value between different objects or as the result of 
   -- a once function.
   -- So in most cases the E type is expanded and the reference to the
   -- MEMO[E] container object is shared.
   -- Other name for MEMO is sometimes CELL

feature(s) from MEMO   item: E

   set_item (i: like item)
      ensure
         item = i

   clear
      -- Reset item with the default value.




end of MEMO[E]




All classes inherit from ANY, ANY inherits from PLATFORM and PLATFORM inherits from GENERAL.



Generated by short -html_deb on 31 March 2005.