[857] | 1 |
|
---|
| 2 | // Copyright Aleksey Gurtovoy 2000-2004
|
---|
| 3 | // Copyright David Abrahams 2003-2004
|
---|
| 4 | //
|
---|
| 5 | // Distributed under the Boost Software License, Version 1.0.
|
---|
| 6 | // (See accompanying file LICENSE_1_0.txt or copy at
|
---|
| 7 | // http://www.boost.org/LICENSE_1_0.txt)
|
---|
| 8 | //
|
---|
| 9 |
|
---|
| 10 | // Preprocessed version of "boost/mpl/map/map10.hpp" header
|
---|
| 11 | // -- DO NOT modify by hand!
|
---|
| 12 |
|
---|
| 13 | namespace boost { namespace mpl {
|
---|
| 14 |
|
---|
| 15 | template<>
|
---|
| 16 | struct m_at_impl<0>
|
---|
| 17 | {
|
---|
| 18 | template< typename Map > struct result_
|
---|
| 19 | {
|
---|
| 20 | typedef typename Map::item0 type;
|
---|
| 21 | };
|
---|
| 22 | };
|
---|
| 23 |
|
---|
| 24 | template<>
|
---|
| 25 | struct m_item_impl<1>
|
---|
| 26 | {
|
---|
| 27 | template< typename Key, typename T, typename Base > struct result_
|
---|
| 28 | : m_item_< Key,T,Base >
|
---|
| 29 | {
|
---|
| 30 | typedef pair< Key,T > item0;
|
---|
| 31 | };
|
---|
| 32 | };
|
---|
| 33 |
|
---|
| 34 | template<
|
---|
| 35 | typename P0
|
---|
| 36 | >
|
---|
| 37 | struct map1
|
---|
| 38 | : m_item<
|
---|
| 39 | 1
|
---|
| 40 | , typename P0::first
|
---|
| 41 | , typename P0::second
|
---|
| 42 | , map0< >
|
---|
| 43 | >
|
---|
| 44 | {
|
---|
| 45 | typedef map1 type;
|
---|
| 46 | };
|
---|
| 47 |
|
---|
| 48 | template<>
|
---|
| 49 | struct m_at_impl<1>
|
---|
| 50 | {
|
---|
| 51 | template< typename Map > struct result_
|
---|
| 52 | {
|
---|
| 53 | typedef typename Map::item1 type;
|
---|
| 54 | };
|
---|
| 55 | };
|
---|
| 56 |
|
---|
| 57 | template<>
|
---|
| 58 | struct m_item_impl<2>
|
---|
| 59 | {
|
---|
| 60 | template< typename Key, typename T, typename Base > struct result_
|
---|
| 61 | : m_item_< Key,T,Base >
|
---|
| 62 | {
|
---|
| 63 | typedef pair< Key,T > item1;
|
---|
| 64 | };
|
---|
| 65 | };
|
---|
| 66 |
|
---|
| 67 | template<
|
---|
| 68 | typename P0, typename P1
|
---|
| 69 | >
|
---|
| 70 | struct map2
|
---|
| 71 | : m_item<
|
---|
| 72 | 2
|
---|
| 73 | , typename P1::first
|
---|
| 74 | , typename P1::second
|
---|
| 75 | , map1<P0>
|
---|
| 76 | >
|
---|
| 77 | {
|
---|
| 78 | typedef map2 type;
|
---|
| 79 | };
|
---|
| 80 |
|
---|
| 81 | template<>
|
---|
| 82 | struct m_at_impl<2>
|
---|
| 83 | {
|
---|
| 84 | template< typename Map > struct result_
|
---|
| 85 | {
|
---|
| 86 | typedef typename Map::item2 type;
|
---|
| 87 | };
|
---|
| 88 | };
|
---|
| 89 |
|
---|
| 90 | template<>
|
---|
| 91 | struct m_item_impl<3>
|
---|
| 92 | {
|
---|
| 93 | template< typename Key, typename T, typename Base > struct result_
|
---|
| 94 | : m_item_< Key,T,Base >
|
---|
| 95 | {
|
---|
| 96 | typedef pair< Key,T > item2;
|
---|
| 97 | };
|
---|
| 98 | };
|
---|
| 99 |
|
---|
| 100 | template<
|
---|
| 101 | typename P0, typename P1, typename P2
|
---|
| 102 | >
|
---|
| 103 | struct map3
|
---|
| 104 | : m_item<
|
---|
| 105 | 3
|
---|
| 106 | , typename P2::first
|
---|
| 107 | , typename P2::second
|
---|
| 108 | , map2< P0,P1 >
|
---|
| 109 | >
|
---|
| 110 | {
|
---|
| 111 | typedef map3 type;
|
---|
| 112 | };
|
---|
| 113 |
|
---|
| 114 | template<>
|
---|
| 115 | struct m_at_impl<3>
|
---|
| 116 | {
|
---|
| 117 | template< typename Map > struct result_
|
---|
| 118 | {
|
---|
| 119 | typedef typename Map::item3 type;
|
---|
| 120 | };
|
---|
| 121 | };
|
---|
| 122 |
|
---|
| 123 | template<>
|
---|
| 124 | struct m_item_impl<4>
|
---|
| 125 | {
|
---|
| 126 | template< typename Key, typename T, typename Base > struct result_
|
---|
| 127 | : m_item_< Key,T,Base >
|
---|
| 128 | {
|
---|
| 129 | typedef pair< Key,T > item3;
|
---|
| 130 | };
|
---|
| 131 | };
|
---|
| 132 |
|
---|
| 133 | template<
|
---|
| 134 | typename P0, typename P1, typename P2, typename P3
|
---|
| 135 | >
|
---|
| 136 | struct map4
|
---|
| 137 | : m_item<
|
---|
| 138 | 4
|
---|
| 139 | , typename P3::first
|
---|
| 140 | , typename P3::second
|
---|
| 141 | , map3< P0,P1,P2 >
|
---|
| 142 | >
|
---|
| 143 | {
|
---|
| 144 | typedef map4 type;
|
---|
| 145 | };
|
---|
| 146 |
|
---|
| 147 | template<>
|
---|
| 148 | struct m_at_impl<4>
|
---|
| 149 | {
|
---|
| 150 | template< typename Map > struct result_
|
---|
| 151 | {
|
---|
| 152 | typedef typename Map::item4 type;
|
---|
| 153 | };
|
---|
| 154 | };
|
---|
| 155 |
|
---|
| 156 | template<>
|
---|
| 157 | struct m_item_impl<5>
|
---|
| 158 | {
|
---|
| 159 | template< typename Key, typename T, typename Base > struct result_
|
---|
| 160 | : m_item_< Key,T,Base >
|
---|
| 161 | {
|
---|
| 162 | typedef pair< Key,T > item4;
|
---|
| 163 | };
|
---|
| 164 | };
|
---|
| 165 |
|
---|
| 166 | template<
|
---|
| 167 | typename P0, typename P1, typename P2, typename P3, typename P4
|
---|
| 168 | >
|
---|
| 169 | struct map5
|
---|
| 170 | : m_item<
|
---|
| 171 | 5
|
---|
| 172 | , typename P4::first
|
---|
| 173 | , typename P4::second
|
---|
| 174 | , map4< P0,P1,P2,P3 >
|
---|
| 175 | >
|
---|
| 176 | {
|
---|
| 177 | typedef map5 type;
|
---|
| 178 | };
|
---|
| 179 |
|
---|
| 180 | template<>
|
---|
| 181 | struct m_at_impl<5>
|
---|
| 182 | {
|
---|
| 183 | template< typename Map > struct result_
|
---|
| 184 | {
|
---|
| 185 | typedef typename Map::item5 type;
|
---|
| 186 | };
|
---|
| 187 | };
|
---|
| 188 |
|
---|
| 189 | template<>
|
---|
| 190 | struct m_item_impl<6>
|
---|
| 191 | {
|
---|
| 192 | template< typename Key, typename T, typename Base > struct result_
|
---|
| 193 | : m_item_< Key,T,Base >
|
---|
| 194 | {
|
---|
| 195 | typedef pair< Key,T > item5;
|
---|
| 196 | };
|
---|
| 197 | };
|
---|
| 198 |
|
---|
| 199 | template<
|
---|
| 200 | typename P0, typename P1, typename P2, typename P3, typename P4
|
---|
| 201 | , typename P5
|
---|
| 202 | >
|
---|
| 203 | struct map6
|
---|
| 204 | : m_item<
|
---|
| 205 | 6
|
---|
| 206 | , typename P5::first
|
---|
| 207 | , typename P5::second
|
---|
| 208 | , map5< P0,P1,P2,P3,P4 >
|
---|
| 209 | >
|
---|
| 210 | {
|
---|
| 211 | typedef map6 type;
|
---|
| 212 | };
|
---|
| 213 |
|
---|
| 214 | template<>
|
---|
| 215 | struct m_at_impl<6>
|
---|
| 216 | {
|
---|
| 217 | template< typename Map > struct result_
|
---|
| 218 | {
|
---|
| 219 | typedef typename Map::item6 type;
|
---|
| 220 | };
|
---|
| 221 | };
|
---|
| 222 |
|
---|
| 223 | template<>
|
---|
| 224 | struct m_item_impl<7>
|
---|
| 225 | {
|
---|
| 226 | template< typename Key, typename T, typename Base > struct result_
|
---|
| 227 | : m_item_< Key,T,Base >
|
---|
| 228 | {
|
---|
| 229 | typedef pair< Key,T > item6;
|
---|
| 230 | };
|
---|
| 231 | };
|
---|
| 232 |
|
---|
| 233 | template<
|
---|
| 234 | typename P0, typename P1, typename P2, typename P3, typename P4
|
---|
| 235 | , typename P5, typename P6
|
---|
| 236 | >
|
---|
| 237 | struct map7
|
---|
| 238 | : m_item<
|
---|
| 239 | 7
|
---|
| 240 | , typename P6::first
|
---|
| 241 | , typename P6::second
|
---|
| 242 | , map6< P0,P1,P2,P3,P4,P5 >
|
---|
| 243 | >
|
---|
| 244 | {
|
---|
| 245 | typedef map7 type;
|
---|
| 246 | };
|
---|
| 247 |
|
---|
| 248 | template<>
|
---|
| 249 | struct m_at_impl<7>
|
---|
| 250 | {
|
---|
| 251 | template< typename Map > struct result_
|
---|
| 252 | {
|
---|
| 253 | typedef typename Map::item7 type;
|
---|
| 254 | };
|
---|
| 255 | };
|
---|
| 256 |
|
---|
| 257 | template<>
|
---|
| 258 | struct m_item_impl<8>
|
---|
| 259 | {
|
---|
| 260 | template< typename Key, typename T, typename Base > struct result_
|
---|
| 261 | : m_item_< Key,T,Base >
|
---|
| 262 | {
|
---|
| 263 | typedef pair< Key,T > item7;
|
---|
| 264 | };
|
---|
| 265 | };
|
---|
| 266 |
|
---|
| 267 | template<
|
---|
| 268 | typename P0, typename P1, typename P2, typename P3, typename P4
|
---|
| 269 | , typename P5, typename P6, typename P7
|
---|
| 270 | >
|
---|
| 271 | struct map8
|
---|
| 272 | : m_item<
|
---|
| 273 | 8
|
---|
| 274 | , typename P7::first
|
---|
| 275 | , typename P7::second
|
---|
| 276 | , map7< P0,P1,P2,P3,P4,P5,P6 >
|
---|
| 277 | >
|
---|
| 278 | {
|
---|
| 279 | typedef map8 type;
|
---|
| 280 | };
|
---|
| 281 |
|
---|
| 282 | template<>
|
---|
| 283 | struct m_at_impl<8>
|
---|
| 284 | {
|
---|
| 285 | template< typename Map > struct result_
|
---|
| 286 | {
|
---|
| 287 | typedef typename Map::item8 type;
|
---|
| 288 | };
|
---|
| 289 | };
|
---|
| 290 |
|
---|
| 291 | template<>
|
---|
| 292 | struct m_item_impl<9>
|
---|
| 293 | {
|
---|
| 294 | template< typename Key, typename T, typename Base > struct result_
|
---|
| 295 | : m_item_< Key,T,Base >
|
---|
| 296 | {
|
---|
| 297 | typedef pair< Key,T > item8;
|
---|
| 298 | };
|
---|
| 299 | };
|
---|
| 300 |
|
---|
| 301 | template<
|
---|
| 302 | typename P0, typename P1, typename P2, typename P3, typename P4
|
---|
| 303 | , typename P5, typename P6, typename P7, typename P8
|
---|
| 304 | >
|
---|
| 305 | struct map9
|
---|
| 306 | : m_item<
|
---|
| 307 | 9
|
---|
| 308 | , typename P8::first
|
---|
| 309 | , typename P8::second
|
---|
| 310 | , map8< P0,P1,P2,P3,P4,P5,P6,P7 >
|
---|
| 311 | >
|
---|
| 312 | {
|
---|
| 313 | typedef map9 type;
|
---|
| 314 | };
|
---|
| 315 |
|
---|
| 316 | template<>
|
---|
| 317 | struct m_at_impl<9>
|
---|
| 318 | {
|
---|
| 319 | template< typename Map > struct result_
|
---|
| 320 | {
|
---|
| 321 | typedef typename Map::item9 type;
|
---|
| 322 | };
|
---|
| 323 | };
|
---|
| 324 |
|
---|
| 325 | template<>
|
---|
| 326 | struct m_item_impl<10>
|
---|
| 327 | {
|
---|
| 328 | template< typename Key, typename T, typename Base > struct result_
|
---|
| 329 | : m_item_< Key,T,Base >
|
---|
| 330 | {
|
---|
| 331 | typedef pair< Key,T > item9;
|
---|
| 332 | };
|
---|
| 333 | };
|
---|
| 334 |
|
---|
| 335 | template<
|
---|
| 336 | typename P0, typename P1, typename P2, typename P3, typename P4
|
---|
| 337 | , typename P5, typename P6, typename P7, typename P8, typename P9
|
---|
| 338 | >
|
---|
| 339 | struct map10
|
---|
| 340 | : m_item<
|
---|
| 341 | 10
|
---|
| 342 | , typename P9::first
|
---|
| 343 | , typename P9::second
|
---|
| 344 | , map9< P0,P1,P2,P3,P4,P5,P6,P7,P8 >
|
---|
| 345 | >
|
---|
| 346 | {
|
---|
| 347 | typedef map10 type;
|
---|
| 348 | };
|
---|
| 349 |
|
---|
| 350 | }}
|
---|