equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 #include <vector> |
1 #include <vector> |
18 #include <list> |
2 #include <list> |
19 #if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS) |
3 #if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS) |
20 # include <slist> |
4 # include <slist> |
21 #endif |
5 #endif |
40 #endif |
24 #endif |
41 CPPUNIT_TEST(ptr_specialization_test); |
25 CPPUNIT_TEST(ptr_specialization_test); |
42 CPPUNIT_TEST_SUITE_END(); |
26 CPPUNIT_TEST_SUITE_END(); |
43 |
27 |
44 protected: |
28 protected: |
45 // this seems to be compile only test but... |
29 /// this seems to be compile only test but... |
46 void ptr_specialization_test(); |
30 void ptr_specialization_test(); |
47 |
31 |
48 template <class _Tp> |
32 template <class _Tp> |
49 struct unary_pred { |
33 struct unary_pred { |
50 bool operator () (_Tp *__ptr) const { |
34 bool operator () (_Tp *__ptr) const { |