// ----------------------------------------------------------------------
//
// defpriq.cc - Is std::priority_queue's default Container a std::vector?
//
// History:
//   06-Sep-1999  WEB  Initial draft, adapted from Scott Snyder's example
//   28-Jan-2000  WEB  Apply new STL_* macros to permit cure
//   21-Feb-2000  WEB  Correct namespace
//   27-Apr-2000  WEB  Replace get() member by container() const member
//   25-Apr-2001  WEB  s/<ISOcxxSyntax.hh>/"ISOcxx\/ISOcxxSyntax.hh"/
//
// ----------------------------------------------------------------------


#include "ISOcxx/ISOcxxSyntax.hh"


#include <queue>
#include <vector>


struct PQ : public std::STL_PRIORITY_QUEUE(int)  {

  std::STL_VECTOR(int)  container() const  { return container_type(); }

};  // PQ


int  main()  {

  PQ  pq;
  pq.push( 0 );

  return  pq.top();

}  // main()
