Definition at line 16 of file iter_test.cpp.
◆ CPPUNIT_TEST() [1/7]
IterTest::CPPUNIT_TEST |
( |
iter1 |
| ) |
|
|
private |
◆ CPPUNIT_TEST() [2/7]
IterTest::CPPUNIT_TEST |
( |
iter3 |
| ) |
|
|
private |
◆ CPPUNIT_TEST() [3/7]
IterTest::CPPUNIT_TEST |
( |
iter4 |
| ) |
|
|
private |
◆ CPPUNIT_TEST() [4/7]
◆ CPPUNIT_TEST() [5/7]
◆ CPPUNIT_TEST() [6/7]
◆ CPPUNIT_TEST() [7/7]
◆ CPPUNIT_TEST_SUITE()
IterTest::CPPUNIT_TEST_SUITE |
( |
IterTest |
| ) |
|
|
private |
◆ CPPUNIT_TEST_SUITE_END()
IterTest::CPPUNIT_TEST_SUITE_END |
( |
| ) |
|
|
private |
◆ iter1()
Definition at line 43 of file iter_test.cpp.
44{
47 v.push_back(
"motorboy");
50 for (vec::iterator
i =
v.begin();
i !=
v.end(); ++
i, ++
counter) {
52 case 0:
54 break;
55 case 1:
57 break;
58 default:
60 }
61 }
62}
int strcmp(const char *String1, const char *String2)
#define CPPUNIT_ASSERT(X)
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
◆ iter3()
Definition at line 63 of file iter_test.cpp.
64{
68 v.push_back(
"motorboy");
69 Vec::reverse_iterator it;
71 for (it =
v.rbegin(); it !=
v.rend(); ++it, ++
counter) {
73 case 1:
75 break;
76 case 0:
78 break;
79 default:
81 }
82 }
83}
◆ iter4()
◆ iterswp0()
void IterTest::iterswp0 |
( |
| ) |
|
|
protected |
Definition at line 97 of file iter_test.cpp.
98{
99 int numbers[6] = { 0, 1, 2, 3, 4, 5 };
100
102
109
110}
_STLP_MOVE_TO_STD_NAMESPACE void iter_swap(_ForwardIter1 __i1, _ForwardIter2 __i2)
◆ iterswp1()
void IterTest::iterswp1 |
( |
| ) |
|
|
protected |
Definition at line 111 of file iter_test.cpp.
112{
116
123}
void __iota(_It __first, _It __last, _Tp __val)
◆ iterswp2()
void IterTest::iterswp2 |
( |
| ) |
|
|
protected |
Definition at line 124 of file iter_test.cpp.
125{
127
130
133 ++i2;
134
137
139
141}
void push_back(const _Tp &__x=_STLP_DEFAULT_CONSTRUCTED(_Tp))
◆ iterswp3()
void IterTest::iterswp3 |
( |
| ) |
|
|
protected |
Definition at line 144 of file iter_test.cpp.
145{
148
151
152 iter_swap(vvints.begin(), lvints.begin());
155
156
157
158
159
160#if defined (STLPORT) && defined (_STLP_CLASS_PARTIAL_SPECIALIZATION)
161 int *pvvint = &vvints.front().front();
162 int *plvint = &lvints.front().front();
163
164 iter_swap(vvints.begin(), lvints.begin());
165
168#endif
169}
The documentation for this class was generated from the following file: