7#if !defined (STLPORT) || defined (_STLP_USE_EXCEPTIONS)
13#if !defined (STLPORT) || defined(_STLP_USE_NAMESPACES)
36#if defined (STLPORT) && defined (_STLP_NO_MEMBER_TEMPLATES)
85 vector<vector<int> > vect(10);
86 vector<vector<int> >
::iterator it(vect.begin()),
end(vect.end());
87 for (; it !=
end; ++it) {
110 size_t v1Cap =
v1.capacity();
111 size_t v2Cap =
v2.capacity();
132 typedef vector<char> vec_type;
142 vec_type
v2(
v1.begin(),
v1.end());
179 int array [] = { 1, 4, 9, 16 };
193 int array [] = { 1, 4, 9, 16, 25, 36 };
206 vit =
v.erase(
v.begin() );
216 vit =
v.erase(
v.end() - 1);
226 v.erase(
v.begin() + 1,
v.end() - 1);
236 int array1 [] = { 1, 4, 25 };
237 int array2 [] = { 9, 16 };
239 vector<int>
v(array1, array1 + 3);
241 vit =
v.insert(
v.begin(), 0);
244 vit =
v.insert(
v.end(), 36);
255 v.insert(
v.begin() + 3, array2, array2 + 2);
270 v.insert(
v.begin(), 5, 10);
307 vector<TestStruct> va;
315 vector<int>
const& cv =
v;
322#if !defined (STLPORT) || defined (_STLP_USE_EXCEPTIONS)
338 vector<int *>
v2 =
v1;
341 v3.insert(
v3.end(),
v1.begin(),
v1.end() );
347 for (
int i = 0;
i < 5; ++
i) {
351 vector<vector<int> > v_v_int(1,
ref);
352 v_v_int.push_back(v_v_int[0]);
353 v_v_int.push_back(
ref);
354 v_v_int.push_back(v_v_int[0]);
355 v_v_int.push_back(v_v_int[0]);
356 v_v_int.push_back(
ref);
358 vector<vector<int> >
::iterator vvit(v_v_int.begin()), vvitEnd(v_v_int.end());
359 for (; vvit != vvitEnd; ++vvit) {
382 typedef vector<int, StackAllocator<int> > VectorInt;
383 VectorInt vint1(10, 0, stack1);
384 VectorInt vint1Cpy(vint1);
386 VectorInt vint2(10, 1, stack2);
387 VectorInt vint2Cpy(vint2);
415# if defined (_STLP_USE_NAMESPACES)
422 typedef __true_type has_trivial_assignment_operator;
426# if defined (_STLP_USE_NAMESPACES)
435#if !defined (STLPORT) || !defined (_STLP_NO_MEMBER_TEMPLATES)
439 vector<PointEx>
v2(
v1.begin(),
v1.end());
447#if !defined (STLPORT) || !defined (_STLP_NO_MEMBER_TEMPLATES)
449 int array[] = { 1, 2, 3, 4, 5 };
460 vector<int> vint(10, 0);
461 vector<int>
const& crvint = vint;
487#if !defined (STLPORT) || \
488 !defined (_STLP_USE_PTR_SPECIALIZATIONS) || defined (_STLP_CLASS_PARTIAL_SPECIALIZATION)
501# define NOTHROW _STLP_NOTHROW
503# define NOTHROW throw()
511#if !defined (STLPORT) || defined (_STLP_MEMBER_TEMPLATE_CLASSES)
517#if !defined (STLPORT) || defined (_STLP_MEMBER_TEMPLATES)
533 typedef vector<int, NotSTLportAllocator<int> >
V;
534 V *pv1 =
new V(1, 1);
535 V *
pv2 =
new V(10, 2);
537 size_t v1Capacity = pv1->capacity();
538 size_t v2Capacity =
pv2->capacity();
vector< IncompleteClass > instances
vector< IncompleteClass >::iterator it
CPPUNIT_TEST(assign_check)
void optimizations_check()
CPPUNIT_TEST_SUITE(VectorTest)
CPPUNIT_TEST(allocator_with_state)
void allocator_with_state()
CPPUNIT_TEST(optimizations_check)
#define CPPUNIT_TEST_SUITE_REGISTRATION(X)
#define CPPUNIT_ASSERT(X)
#define _STLP_TEMPLATE_NULL
GLsizei const GLvoid * pointer
GLfloat GLfloat GLfloat GLfloat v3
GLboolean GLboolean GLboolean GLboolean a
GLfloat GLfloat GLfloat v2
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
NotSTLportAllocator< _Tp1 > other
NotSTLportAllocator(const NotSTLportAllocator< _Tp1 > &) NOTHROW
~NotSTLportAllocator() NOTHROW
NotSTLportAllocator() NOTHROW
NotSTLportAllocator(const NotSTLportAllocator< _Tp > &) NOTHROW