Ignore:
Timestamp:
Feb 11, 2010, 11:19:06 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.1 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/config.tests/unix/stl/stltest.cpp

    r2 r561  
     1
     2
     3
     4
     5
     6
     7
     8
     9
     10
     11
     12
     13
     14
     15
     16
     17
     18
     19
     20
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
    142/* Sample program for configure to test STL support on target
    243platforms.  We are mainly concerned with being able to instantiate
     
    950#include <algorithm>
    1051#include <iostream>
     52
     53
     54
     55
     56
     57
     58
     59
     60
     61
     62
     63
     64
     65
     66
     67
     68
     69
     70
     71
     72
     73
     74
     75
     76
     77
     78
     79
     80
     81
     82
     83
     84
     85
     86
     87
     88
     89
     90
     91
     92
     93
     94
     95
     96
     97
     98
    1199
    12100int main()
     
    54142    m2size = 0;
    55143
     144
     145
     146
     147
    56148    return 0;
    57149}
    58150
    59 // something mean to see if the compiler and C++ standard lib are good enough
    60 template<class K, class T>
    61 class DummyClass
    62 {
    63     // everything in std namespace ?
    64     typedef std::bidirectional_iterator_tag i;
    65     typedef std::ptrdiff_t d;
    66     // typename implemented ?
    67     typedef typename std::map<K,T>::iterator MyIterator;
    68 };
Note: See TracChangeset for help on using the changeset viewer.