home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / irprioqu.inl < prev    next >
Encoding:
Text File  |  1996-02-22  |  1.7 KB  |  40 lines

  1. /**********************************************************************
  2. *                                                                     *
  3. *  IBM(R) VisualAge(TM) for C++ for Windows(R), Version 3.5           *
  4. *                                                                     *
  5. *  PID: 5622-880                                                      *
  6. *  - Licensed Material - Program-Property of IBM                      *
  7. *  (C) Copyright IBM Corp. 1991, 1995 - All Right Reserved.           *
  8. *                                                                     *
  9. *  US Government Users Restricted Rights - Use, duplication or        *
  10. *  disclosure restricted by GSA ADP Schedule Contract with IBM Corp.  *
  11. *                                                                     *
  12. *  VisualAge, and IBM are trademarks or registered trademarks of      *
  13. *  International Business Machines Corporation.                       *
  14. *  Windows is a registered trademark of Microsoft Corporation.        *
  15. *                                                                     *
  16. **********************************************************************/
  17.  
  18. // ---
  19. // IRPriorityQueue
  20. // ---
  21.  
  22. // public members
  23.  
  24. template <class Element, class Key, class Base>
  25. inline
  26. IRPriorityQueue <Element, Key, Base>::
  27. IRPriorityQueue (Base& base)
  28. { SetImpl (&IACollection <Element>::ImplOf (base));
  29. }
  30.  
  31. template <class Element, class Key, class Base>
  32. inline IRPriorityQueue <Element, Key, Base>&
  33. IRPriorityQueue <Element, Key, Base>::
  34. operator= (IRPriorityQueue
  35.             <Element, Key, Base> const& collection)
  36. { IACollectionBase::ImplOf (*this).
  37.     Copy (IACollectionBase::ImplOf (collection));
  38.   return *this;
  39. }
  40.