11#if !defined (STLPORT) || defined(_STLP_USE_NAMESPACES)
57 int array1 [] = { 9, 16, 36 };
58 int array2 [] = { 1, 4 };
60 list<int> l1(array1, array1 + 3);
61 list<int> l2(array2, array2 + 2);
74#if defined (STLPORT) && \
75 (!defined (_STLP_DEBUG) || (_STLP_DEBUG_LEVEL != _STLP_STANDARD_DBG_LEVEL))
97 int array1 [] = { 1, 16 };
98 int array2 [] = { 4, 9 };
100 list<int> l1(array1, array1 + 2);
101 list<int> l2(array2, array2 + 2);
104 l1.splice(
i, l2, l2.begin(), l2.end());
114 char array [] = {
'x',
'l',
'x',
't',
's',
's' };
150 int array1 [] = { 1, 3, 6, 7 };
151 int array2 [] = { 2, 4 };
153 list<int> l1(array1, array1 + 4);
154 list<int> l2(array2, array2 + 2);
181 int array[] = { 0, 1, 2, 3 };
184 lit =
l.erase(
l.begin());
187 lit =
l.erase(
l.begin(), --
l.end());
203 for (
i = 0;
i < 5; ++
i) {
211 for (
i = 0;
i < 3; ++
i) {
224 for (
i = 0;
i < 5; ++
i) {
239 list<int>::reverse_iterator
r =
l.rbegin();
280 typedef list<int, StackAllocator<int> > ListInt;
283 ListInt lint1(10, 0, stack1);
284 ListInt lint1Cpy(lint1);
286 ListInt lint2(10, 1, stack2);
287 ListInt lint2Cpy(lint2);
305 ListInt lint1(10, 0, stack1);
306 ListInt lint1Cpy(lint1);
308 ListInt lint2(stack2);
309 ListInt lint2Cpy(lint2);
327 ListInt lint1(stack1);
328 ListInt lint1Cpy(lint1);
330 ListInt lint2(10, 0, stack2);
331 ListInt lint2Cpy(lint2);
348 ListInt lint1(10, 0, stack1);
349 ListInt lint2(10, 1, stack2);
351 lint1.splice(lint1.begin(), lint2);
360 ListInt lint1(10, 0, stack1);
361 ListInt lint2(10, 1, stack2);
363 lint1.splice(lint1.begin(), lint2, lint2.begin());
372 ListInt lint1(10, 0, stack1);
373 ListInt lint2(10, 1, stack2);
375 ListInt::iterator lit(lint2.begin());
377 lint1.splice(lint1.begin(), lint2, lint2.begin(), lit);
386 ListInt lint1(10, 0, stack1);
387 ListInt lint2(10, 1, stack2);
389 ListInt lintref(stack2);
390 lintref.insert(lintref.begin(), 10, 1);
391 lintref.insert(lintref.begin(), 10, 0);
401#if defined (STLPORT) && !defined (_STLP_NO_MEMBER_TEMPLATES) && \
402 (!defined (_MSC_VER) || (_MSC_VER >= 1300))
407 ListInt lint1(10, 0, stack1);
457#if !defined (STLPORT) || \
458 !defined (_STLP_USE_PTR_SPECIALIZATIONS) || defined (_STLP_CLASS_PARTIAL_SPECIALIZATION)
_STLP_MOVE_TO_STD_NAMESPACE void _STLP_CALL advance(_InputIterator &__i, _Distance __n)
list< IncompleteClass >::iterator it
list< IncompleteClass > instances
void allocator_with_state()
CPPUNIT_TEST_SUITE(ListTest)
CPPUNIT_TEST(allocator_with_state)
_STLP_PRIV _List_iterator< _Tp, _Const_traits< _Tp > > const_iterator
_STLP_PRIV _List_iterator< _Tp, _Nonconst_traits< _Tp > > iterator
#define CPPUNIT_TEST_SUITE_REGISTRATION(X)
#define CPPUNIT_ASSERT(X)
GLdouble GLdouble GLdouble r
GLsizei GLsizei GLfloat distance
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