fix 'size<vector...>' for no-CTPS compilers

[SVN r18786]
This commit is contained in:
Aleksey Gurtovoy
2003-06-12 10:52:50 +00:00
parent daf876a550
commit 65605933d4
6 changed files with 52 additions and 52 deletions

View File

@@ -167,7 +167,7 @@ template<>
struct size_traits< aux::vector_tag<i> >
{
template< typename Vector > struct algorithm
: integral_c<int,i>
: integral_c<long,i>
{
};
};

View File

@@ -28,7 +28,7 @@ template<>
struct size_traits< aux::vector_tag< 0> >
{
template< typename Vector > struct algorithm
: integral_c< int,0 >
: integral_c< long,0 >
{
};
};
@@ -135,7 +135,7 @@ template<>
struct size_traits< aux::vector_tag< 1> >
{
template< typename Vector > struct algorithm
: integral_c< int,1 >
: integral_c< long,1 >
{
};
};
@@ -247,7 +247,7 @@ template<>
struct size_traits< aux::vector_tag< 2> >
{
template< typename Vector > struct algorithm
: integral_c< int,2 >
: integral_c< long,2 >
{
};
};
@@ -360,7 +360,7 @@ template<>
struct size_traits< aux::vector_tag< 3> >
{
template< typename Vector > struct algorithm
: integral_c< int,3 >
: integral_c< long,3 >
{
};
};
@@ -476,7 +476,7 @@ template<>
struct size_traits< aux::vector_tag< 4> >
{
template< typename Vector > struct algorithm
: integral_c< int,4 >
: integral_c< long,4 >
{
};
};
@@ -593,7 +593,7 @@ template<>
struct size_traits< aux::vector_tag< 5> >
{
template< typename Vector > struct algorithm
: integral_c< int,5 >
: integral_c< long,5 >
{
};
};
@@ -714,7 +714,7 @@ template<>
struct size_traits< aux::vector_tag< 6> >
{
template< typename Vector > struct algorithm
: integral_c< int,6 >
: integral_c< long,6 >
{
};
};
@@ -836,7 +836,7 @@ template<>
struct size_traits< aux::vector_tag< 7> >
{
template< typename Vector > struct algorithm
: integral_c< int,7 >
: integral_c< long,7 >
{
};
};
@@ -961,7 +961,7 @@ template<>
struct size_traits< aux::vector_tag< 8> >
{
template< typename Vector > struct algorithm
: integral_c< int,8 >
: integral_c< long,8 >
{
};
};
@@ -1087,7 +1087,7 @@ template<>
struct size_traits< aux::vector_tag< 9> >
{
template< typename Vector > struct algorithm
: integral_c< int,9 >
: integral_c< long,9 >
{
};
};
@@ -1216,7 +1216,7 @@ template<>
struct size_traits< aux::vector_tag< 10> >
{
template< typename Vector > struct algorithm
: integral_c< int,10 >
: integral_c< long,10 >
{
};
};

View File

@@ -115,7 +115,7 @@ template<>
struct size_traits< aux::vector_tag< 11> >
{
template< typename Vector > struct algorithm
: integral_c< int,11 >
: integral_c< long,11 >
{
};
};
@@ -249,7 +249,7 @@ template<>
struct size_traits< aux::vector_tag< 12> >
{
template< typename Vector > struct algorithm
: integral_c< int,12 >
: integral_c< long,12 >
{
};
};
@@ -384,7 +384,7 @@ template<>
struct size_traits< aux::vector_tag< 13> >
{
template< typename Vector > struct algorithm
: integral_c< int,13 >
: integral_c< long,13 >
{
};
};
@@ -522,7 +522,7 @@ template<>
struct size_traits< aux::vector_tag< 14> >
{
template< typename Vector > struct algorithm
: integral_c< int,14 >
: integral_c< long,14 >
{
};
};
@@ -661,7 +661,7 @@ template<>
struct size_traits< aux::vector_tag< 15> >
{
template< typename Vector > struct algorithm
: integral_c< int,15 >
: integral_c< long,15 >
{
};
};
@@ -804,7 +804,7 @@ template<>
struct size_traits< aux::vector_tag< 16> >
{
template< typename Vector > struct algorithm
: integral_c< int,16 >
: integral_c< long,16 >
{
};
};
@@ -948,7 +948,7 @@ template<>
struct size_traits< aux::vector_tag< 17> >
{
template< typename Vector > struct algorithm
: integral_c< int,17 >
: integral_c< long,17 >
{
};
};
@@ -1095,7 +1095,7 @@ template<>
struct size_traits< aux::vector_tag< 18> >
{
template< typename Vector > struct algorithm
: integral_c< int,18 >
: integral_c< long,18 >
{
};
};
@@ -1243,7 +1243,7 @@ template<>
struct size_traits< aux::vector_tag< 19> >
{
template< typename Vector > struct algorithm
: integral_c< int,19 >
: integral_c< long,19 >
{
};
};
@@ -1394,7 +1394,7 @@ template<>
struct size_traits< aux::vector_tag< 20> >
{
template< typename Vector > struct algorithm
: integral_c< int,20 >
: integral_c< long,20 >
{
};
};

View File

@@ -137,7 +137,7 @@ template<>
struct size_traits< aux::vector_tag< 21> >
{
template< typename Vector > struct algorithm
: integral_c< int,21 >
: integral_c< long,21 >
{
};
};
@@ -293,7 +293,7 @@ template<>
struct size_traits< aux::vector_tag< 22> >
{
template< typename Vector > struct algorithm
: integral_c< int,22 >
: integral_c< long,22 >
{
};
};
@@ -450,7 +450,7 @@ template<>
struct size_traits< aux::vector_tag< 23> >
{
template< typename Vector > struct algorithm
: integral_c< int,23 >
: integral_c< long,23 >
{
};
};
@@ -610,7 +610,7 @@ template<>
struct size_traits< aux::vector_tag< 24> >
{
template< typename Vector > struct algorithm
: integral_c< int,24 >
: integral_c< long,24 >
{
};
};
@@ -771,7 +771,7 @@ template<>
struct size_traits< aux::vector_tag< 25> >
{
template< typename Vector > struct algorithm
: integral_c< int,25 >
: integral_c< long,25 >
{
};
};
@@ -936,7 +936,7 @@ template<>
struct size_traits< aux::vector_tag< 26> >
{
template< typename Vector > struct algorithm
: integral_c< int,26 >
: integral_c< long,26 >
{
};
};
@@ -1102,7 +1102,7 @@ template<>
struct size_traits< aux::vector_tag< 27> >
{
template< typename Vector > struct algorithm
: integral_c< int,27 >
: integral_c< long,27 >
{
};
};
@@ -1271,7 +1271,7 @@ template<>
struct size_traits< aux::vector_tag< 28> >
{
template< typename Vector > struct algorithm
: integral_c< int,28 >
: integral_c< long,28 >
{
};
};
@@ -1441,7 +1441,7 @@ template<>
struct size_traits< aux::vector_tag< 29> >
{
template< typename Vector > struct algorithm
: integral_c< int,29 >
: integral_c< long,29 >
{
};
};
@@ -1614,7 +1614,7 @@ template<>
struct size_traits< aux::vector_tag< 30> >
{
template< typename Vector > struct algorithm
: integral_c< int,30 >
: integral_c< long,30 >
{
};
};

View File

@@ -159,7 +159,7 @@ template<>
struct size_traits< aux::vector_tag< 31> >
{
template< typename Vector > struct algorithm
: integral_c< int,31 >
: integral_c< long,31 >
{
};
};
@@ -337,7 +337,7 @@ template<>
struct size_traits< aux::vector_tag< 32> >
{
template< typename Vector > struct algorithm
: integral_c< int,32 >
: integral_c< long,32 >
{
};
};
@@ -516,7 +516,7 @@ template<>
struct size_traits< aux::vector_tag< 33> >
{
template< typename Vector > struct algorithm
: integral_c< int,33 >
: integral_c< long,33 >
{
};
};
@@ -698,7 +698,7 @@ template<>
struct size_traits< aux::vector_tag< 34> >
{
template< typename Vector > struct algorithm
: integral_c< int,34 >
: integral_c< long,34 >
{
};
};
@@ -881,7 +881,7 @@ template<>
struct size_traits< aux::vector_tag< 35> >
{
template< typename Vector > struct algorithm
: integral_c< int,35 >
: integral_c< long,35 >
{
};
};
@@ -1068,7 +1068,7 @@ template<>
struct size_traits< aux::vector_tag< 36> >
{
template< typename Vector > struct algorithm
: integral_c< int,36 >
: integral_c< long,36 >
{
};
};
@@ -1256,7 +1256,7 @@ template<>
struct size_traits< aux::vector_tag< 37> >
{
template< typename Vector > struct algorithm
: integral_c< int,37 >
: integral_c< long,37 >
{
};
};
@@ -1447,7 +1447,7 @@ template<>
struct size_traits< aux::vector_tag< 38> >
{
template< typename Vector > struct algorithm
: integral_c< int,38 >
: integral_c< long,38 >
{
};
};
@@ -1639,7 +1639,7 @@ template<>
struct size_traits< aux::vector_tag< 39> >
{
template< typename Vector > struct algorithm
: integral_c< int,39 >
: integral_c< long,39 >
{
};
};
@@ -1834,7 +1834,7 @@ template<>
struct size_traits< aux::vector_tag< 40> >
{
template< typename Vector > struct algorithm
: integral_c< int,40 >
: integral_c< long,40 >
{
};
};

View File

@@ -181,7 +181,7 @@ template<>
struct size_traits< aux::vector_tag< 41> >
{
template< typename Vector > struct algorithm
: integral_c< int,41 >
: integral_c< long,41 >
{
};
};
@@ -381,7 +381,7 @@ template<>
struct size_traits< aux::vector_tag< 42> >
{
template< typename Vector > struct algorithm
: integral_c< int,42 >
: integral_c< long,42 >
{
};
};
@@ -582,7 +582,7 @@ template<>
struct size_traits< aux::vector_tag< 43> >
{
template< typename Vector > struct algorithm
: integral_c< int,43 >
: integral_c< long,43 >
{
};
};
@@ -786,7 +786,7 @@ template<>
struct size_traits< aux::vector_tag< 44> >
{
template< typename Vector > struct algorithm
: integral_c< int,44 >
: integral_c< long,44 >
{
};
};
@@ -991,7 +991,7 @@ template<>
struct size_traits< aux::vector_tag< 45> >
{
template< typename Vector > struct algorithm
: integral_c< int,45 >
: integral_c< long,45 >
{
};
};
@@ -1200,7 +1200,7 @@ template<>
struct size_traits< aux::vector_tag< 46> >
{
template< typename Vector > struct algorithm
: integral_c< int,46 >
: integral_c< long,46 >
{
};
};
@@ -1410,7 +1410,7 @@ template<>
struct size_traits< aux::vector_tag< 47> >
{
template< typename Vector > struct algorithm
: integral_c< int,47 >
: integral_c< long,47 >
{
};
};
@@ -1623,7 +1623,7 @@ template<>
struct size_traits< aux::vector_tag< 48> >
{
template< typename Vector > struct algorithm
: integral_c< int,48 >
: integral_c< long,48 >
{
};
};
@@ -1837,7 +1837,7 @@ template<>
struct size_traits< aux::vector_tag< 49> >
{
template< typename Vector > struct algorithm
: integral_c< int,49 >
: integral_c< long,49 >
{
};
};
@@ -2054,7 +2054,7 @@ template<>
struct size_traits< aux::vector_tag< 50> >
{
template< typename Vector > struct algorithm
: integral_c< int,50 >
: integral_c< long,50 >
{
};
};