10 #ifndef TEUCHOS_TUPLE_HPP
11 #define TEUCHOS_TUPLE_HPP
34 template<
typename T,
int N>
61 template<
typename T>
inline
69 template<
typename T>
inline
77 template<
typename T>
inline
78 Tuple<T,3> tuple(
const T& a,
const T& b,
const T& c);
85 template<
typename T>
inline
86 Tuple<T,4> tuple(
const T& a,
const T& b,
const T& c,
const T& d);
93 template<
typename T>
inline
94 Tuple<T,5> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e);
101 template<
typename T>
inline
102 Tuple<T,6> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
110 template<
typename T>
inline
111 Tuple<T,7> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
112 const T&
f,
const T&
g);
119 template<
typename T>
inline
120 Tuple<T,8> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
121 const T&
f,
const T&
g,
const T& h);
128 template<
typename T>
inline
129 Tuple<T,9> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
130 const T&
f,
const T&
g,
const T& h,
const T& i);
137 template<
typename T>
inline
138 Tuple<T,10> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
139 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j);
146 template<
typename T>
inline
147 Tuple<T,11> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
148 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k);
155 template<
typename T>
inline
156 Tuple<T,12> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
157 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k,
165 template<
typename T>
inline
166 Tuple<T,13> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
167 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k,
168 const T& l,
const T& m);
175 template<
typename T>
inline
176 Tuple<T,14> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
177 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k,
178 const T& l,
const T& m,
const T&
n);
185 template<
typename T>
inline
186 Tuple<T,15> tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
187 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k,
188 const T& l,
const T& m,
const T&
n,
const T& o);
196 template<
typename T,
int N>
inline
204 template<
typename T,
int N>
208 for(
int i = 0; i < N; ++i )
216 template<
typename T,
int N>
219 for(
int i = 0; i < N; ++i )
235 template<
typename T>
inline
237 Teuchos::tuple(
const T& a)
245 template<
typename T>
inline
247 Teuchos::tuple(
const T& a,
const T& b)
256 template<
typename T>
inline
258 Teuchos::tuple(
const T& a,
const T& b,
const T& c)
268 template<
typename T>
inline
270 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d)
281 template<
typename T>
inline
283 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e)
295 template<
typename T>
inline
297 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
311 template<
typename T>
inline
313 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
314 const T&
f,
const T&
g)
328 template<
typename T>
inline
330 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
331 const T&
f,
const T&
g,
const T& h)
346 template<
typename T>
inline
348 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
349 const T&
f,
const T&
g,
const T& h,
const T& i)
365 template<
typename T>
inline
367 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
368 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j)
385 template<
typename T>
inline
387 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
388 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k)
405 template<
typename T>
inline
407 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
408 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k,
427 template<
typename T>
inline
429 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
430 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k,
431 const T& l,
const T& m)
451 template<
typename T>
inline
453 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
454 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k,
455 const T& l,
const T& m,
const T&
n)
476 template<
typename T>
inline
478 Teuchos::tuple(
const T& a,
const T& b,
const T& c,
const T& d,
const T& e,
479 const T&
f,
const T&
g,
const T& h,
const T& i,
const T& j,
const T& k,
480 const T& l,
const T& m,
const T&
n,
const T& o)
502 #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.