42 #ifndef TEUCHOS_TUPLE_HPP
43 #define TEUCHOS_TUPLE_HPP
66 template<
typename T,
int N>
93 template<
typename T>
inline
101 template<
typename T>
inline
109 template<
typename T>
inline
110 Tuple<T,3> tuple(
const T& a,
const T& b,
const T& c);
117 template<
typename T>
inline
118 Tuple<T,4> tuple(
const T& a,
const T& b,
const T& c,
const T& d);
125 template<
typename T>
inline
126 Tuple<T,5> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e);
133 template<
typename T>
inline
134 Tuple<T,6> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
142 template<
typename T>
inline
143 Tuple<T,7> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
144 const T&
f,
const T&
g);
151 template<
typename T>
inline
152 Tuple<T,8> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
153 const T&
f,
const T&
g,
const T& h);
160 template<
typename T>
inline
161 Tuple<T,9> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
162 const T&
f,
const T&
g,
const T& h,
const T& i);
169 template<
typename T>
inline
170 Tuple<T,10> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
171 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j);
178 template<
typename T>
inline
179 Tuple<T,11> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
180 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k);
187 template<
typename T>
inline
188 Tuple<T,12> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
189 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k,
197 template<
typename T>
inline
198 Tuple<T,13> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
199 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k,
200 const T& l,
const T& m);
207 template<
typename T>
inline
208 Tuple<T,14> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
209 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k,
210 const T& l,
const T& m,
const T&
n);
217 template<
typename T>
inline
218 Tuple<T,15> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
219 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k,
220 const T& l,
const T& m,
const T&
n,
const T& o);
228 template<
typename T,
int N>
inline
236 template<
typename T,
int N>
240 for(
int i = 0; i < N; ++i )
248 template<
typename T,
int N>
251 for(
int i = 0; i < N; ++i )
267 template<
typename T>
inline
269 Teuchos::tuple(
const T& a)
277 template<
typename T>
inline
279 Teuchos::tuple(
const T& a,
const T& b)
288 template<
typename T>
inline
290 Teuchos::tuple(
const T& a,
const T& b,
const T& c)
300 template<
typename T>
inline
302 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d)
313 template<
typename T>
inline
315 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e)
327 template<
typename T>
inline
329 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
343 template<
typename T>
inline
345 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
346 const T&
f,
const T&
g)
360 template<
typename T>
inline
362 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
363 const T&
f,
const T&
g,
const T& h)
378 template<
typename T>
inline
380 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
381 const T&
f,
const T&
g,
const T& h,
const T& i)
397 template<
typename T>
inline
399 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
400 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j)
417 template<
typename T>
inline
419 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
420 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k)
437 template<
typename T>
inline
439 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
440 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k,
459 template<
typename T>
inline
461 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
462 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k,
463 const T& l,
const T& m)
483 template<
typename T>
inline
485 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
486 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k,
487 const T& l,
const T& m,
const T&
n)
508 template<
typename T>
inline
510 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
511 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k,
512 const T& l,
const T& m,
const T&
n,
const T& o)
534 #endif // TEUCHOS_TUPLE_HPP
Tuple< T, N > & operator=(const Tuple< T, N > &t)
Copy constructor.
Statically sized simple array (tuple) class.
Tuple()
Default construct raw storage.
ArrayView< T > & operator=(const ArrayView< T > &array)
Shallow copy assignment operator.