// ----------------------------------------------------------------------
//
// defstk.cc - Is std::stack's default Container a std::deque?
//
// History:
//   28-Jan-2000  WEB  Initial draft, adapted from defpriq.cc
//   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 <stack>
#include <deque>


struct S : public std::STL_STACK(int) {

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

};  // S


int  main()  {

  S  s;
  s.push( 0 );

  return  s.top();

}  // main()
