| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // Filename: vector
- // Created by: drose (12May00)
- //
- ////////////////////////////////////////////////////////////////////
- //
- // PANDA 3D SOFTWARE
- // Copyright (c) Carnegie Mellon University. All rights reserved.
- //
- // All use of this software is subject to the terms of the revised BSD
- // license. You should have received a copy of this license along
- // with this source code in a file named "LICENSE."
- //
- ////////////////////////////////////////////////////////////////////
- // This file, and all the other files in this directory, aren't
- // intended to be compiled--they're just parsed by CPPParser (and
- // interrogate) in lieu of the actual system headers, to generate the
- // interrogate database.
- #ifndef VECTOR_H
- #define VECTOR_H
- #include <stdtypedefs.h>
- inline namespace std {
- template<class element>
- class vector {
- public:
- typedef element value_type;
- typedef element *pointer;
- typedef const element *const_pointer;
- typedef element &reference;
- typedef const element &const_reference;
- typedef pointer iterator;
- typedef const_pointer const_iterator;
- class reverse_iterator;
- class const_reverse_iterator;
- typedef size_t difference_type;
- typedef size_t size_type;
- };
- }
- #endif
|