3#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
12#if !defined (STLPORT) || defined(_STLP_USE_NAMESPACES)
41 return *__first < *__second;
48#define TEST_INSTANCIATE_CONTAINER(cont) \
49 template class cont<int*>; \
50 template class cont<int const*>; \
51 template class cont<int volatile*>; \
52 template class cont<int const volatile*>
54#if !defined(_MSC_VER) || (_MSC_VER > 1200)
57# if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
79 int *int_array[] = {0, 0, 0};
80 int const* cint_array[] = {0, 0, 0};
83 vector<void*> void_vect;
85 list<void*> void_list;
86#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
92 typedef void (*FType)();
97#if !defined(__GNUC__) || (__GNUC__ > 2)
100 vector<MFType> mem_func_vector;
105 vector<int*> pint_vect;
106 vector<int*> pint_vect2;
107 vector<int const*> pcint_vect;
108 list<int*> pint_list;
109 list<int*> pint_list2;
110 list<int const*> pcint_list;
111#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
120#if !defined (STLPORT) || defined (_STLP_MEMBER_TEMPLATES)
121 vector<int*> pint_vect_from_list(pint_list.begin(), pint_list.end());
123 pint_vect.insert(pint_vect.end(), pint_vect2.begin(), pint_vect2.end());
124 pint_vect.insert(pint_vect.end(), int_array, int_array + 3);
125 pint_vect2.insert(pint_vect2.end(), int_array, int_array + 3);
126 pcint_vect.insert(pcint_vect.end(), int_array, int_array + 3);
127 pcint_vect.insert(pcint_vect.end(), cint_array, cint_array + 3);
128#if !defined (STLPORT) || !defined(_STLP_DEBUG) || defined(_STLP_MEMBER_TEMPLATES)
129 pcint_vect.insert(pcint_vect.end(), pint_vect2.begin(), pint_vect2.end());
131 pcint_vect.insert(pcint_vect.end(), int_array, int_array + 3);
132#if !defined (STLPORT) || defined (_STLP_MEMBER_TEMPLATES)
133 pint_vect.insert(pint_vect.end(), pint_list.begin(), pint_list.end());
134 pcint_vect.insert(pcint_vect.end(), pint_list.begin(), pint_list.end());
135 pcint_vect.insert(pcint_vect.end(), pcint_list.begin(), pcint_list.end());
136 pint_vect.assign(pint_list.begin(), pint_list.end());
137 pcint_vect.assign(pint_list.begin(), pint_list.end());
139 pint_vect.assign(int_array, int_array + 3);
140 pcint_vect.assign(int_array, int_array + 3);
141 pcint_vect.assign(cint_array, cint_array + 3);
144#if !defined (STLPORT) || defined (_STLP_MEMBER_TEMPLATES)
157 pint_list.insert(pint_list.end(), pint_list2.begin(), pint_list2.end());
158#if !defined (STLPORT) || defined (_STLP_MEMBER_TEMPLATES)
159 pcint_list.insert(pcint_list.end(), pint_list.begin(), pint_list.end());
161#if !defined (STLPORT) || !defined(_STLP_DEBUG) || defined(_STLP_MEMBER_TEMPLATES)
162 pint_list.insert(pint_list.end(), pint_vect.begin(), pint_vect.end());
163 pcint_list.insert(pcint_list.end(), pint_vect.begin(), pint_vect.end());
164 pcint_list.insert(pcint_list.end(), pcint_vect.begin(), pcint_vect.end());
165 list<int*> pint_list_from_vect(pint_vect.begin(), pint_vect.end());
166 pint_list.assign(pint_vect.begin(), pint_vect.end());
167 pcint_list.assign(pint_vect.begin(), pint_vect.end());
169 pint_list.insert(pint_list.begin(), int_array, int_array + 3);
170 pint_list.insert(pint_list.end(), int_array, int_array + 3);
171 pcint_list.insert(pcint_list.end(), int_array, int_array + 3);
172 pcint_list.insert(pcint_list.end(), cint_array, cint_array + 3);
173 pint_list.assign(int_array, int_array + 3);
174 pcint_list.assign(int_array, int_array + 3);
175 pcint_list.assign(cint_array, cint_array + 3);
178#if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
182# if defined (_STLP_MEMBER_TEMPLATES)
185# if !defined (_STLP_DEBUG) || defined (_STLP_MEMBER_TEMPLATES)
186 pint_slist.
insert(pint_slist.
end(), pint_vect.begin(), pint_vect.end());
187 pcint_slist.
insert(pcint_slist.
end(), pint_vect.begin(), pint_vect.end());
188 pcint_slist.
insert(pcint_slist.
end(), pcint_vect.begin(), pcint_vect.end());
189 slist<int*> pint_slist_from_vect(pint_vect.begin(), pint_vect.end());
190 pint_slist.
assign(pint_vect.begin(), pint_vect.end());
191 pcint_slist.
assign(pint_vect.begin(), pint_vect.end());
193 pint_slist.
insert(pint_slist.
end(), int_array, int_array + 3);
194 pcint_slist.
insert(pcint_slist.
end(), int_array, int_array + 3);
195 pcint_slist.
insert(pcint_slist.
end(), cint_array, cint_array + 3);
196 pint_slist.
assign(int_array, int_array + 3);
197 pcint_slist.
assign(int_array, int_array + 3);
198 pcint_slist.
assign(cint_array, cint_array + 3);
205#if !defined (STLPORT) || defined (_STLP_MEMBER_TEMPLATES)
208#if !defined (STLPORT) || !defined(_STLP_DEBUG) || defined(_STLP_MEMBER_TEMPLATES)
209 pint_deque.
insert(pint_deque.
end(), pint_vect.begin(), pint_vect.end());
210 pcint_deque.
insert(pcint_deque.
end(), pint_vect.begin(), pint_vect.end());
211 pcint_deque.
insert(pcint_deque.
end(), pcint_vect.begin(), pcint_vect.end());
212 deque<int*> pint_deque_from_vect(pint_vect.begin(), pint_vect.end());
213 pint_deque.
assign(pint_vect.begin(), pint_vect.end());
214 pcint_deque.
assign(pint_vect.begin(), pint_vect.end());
216 pint_deque.
insert(pint_deque.
end(), int_array, int_array + 3);
217 pcint_deque.
insert(pcint_deque.
end(), int_array, int_array + 3);
218 pcint_deque.
insert(pcint_deque.
end(), cint_array, cint_array + 3);
219 pint_deque.
assign(int_array, int_array + 3);
220 pcint_deque.
assign(int_array, int_array + 3);
221 pcint_deque.
assign(cint_array, cint_array + 3);
front_insert_iterator< _Container > _STLP_CALL front_inserter(_Container &__x)
back_insert_iterator< _Container > _STLP_CALL back_inserter(_Container &__x)
INT copy(TCHAR source[MAX_PATH], TCHAR dest[MAX_PATH], INT append, DWORD lpdwFlags, BOOL bTouch)
CPPUNIT_TEST_SUITE(PtrSpecTest)
void ptr_specialization_test()
this seems to be compile only test but...
CPPUNIT_TEST(ptr_specialization_test)
CPPUNIT_TEST(function_pointer)
iterator insert(iterator __pos, const value_type &__x=_STLP_DEFAULT_CONSTRUCTED(_Tp))
void assign(size_type __n, const _Tp &__val)
iterator insert(iterator __pos, const value_type &__x=_Tp())
void assign(size_type __n, const _Tp &__val)
#define CPPUNIT_TEST_SUITE_REGISTRATION(X)
#define CPPUNIT_ASSERT(X)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
#define TEST_INSTANCIATE_CONTAINER(cont)
bool operator()(_Tp *__first, _Tp *__second) const
bool operator()(_Tp *__ptr) const