// ---------------------------------------------------------------------- // // atdeq.cc - Do deques support at() member function? // // History: // 27-Apr-2000 WEB Initial draft, adapted from allocdeq.cc // 25-Apr-2001 WEB s//"ISOcxx\/ISOcxxSyntax.hh"/ // // ---------------------------------------------------------------------- #include "ISOcxx/ISOcxxSyntax.hh" #include int main() { std::STL_DEQUE( int ) const d( 10, 0 ); return #ifndef DEFECT_NO_DEQUE_AT d.at(0) // compliant #else d[0] // not compliant #endif ; } // main()