We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54a3d15 commit 906f5faCopy full SHA for 906f5fa
1 file changed
thrust/detail/pair.inl
@@ -140,21 +140,21 @@ template <typename T1, typename T2>
140
141
// specializations of tuple_element for pair
142
template<typename T1, typename T2>
143
- struct tuple_element<0, const pair<T1,T2> >
+ struct tuple_element<0, pair<T1,T2> const>
144
{
145
typedef T1 type;
146
}; // end tuple_element
147
148
149
- struct tuple_element<1, const pair<T1,T2> >
+ struct tuple_element<1, pair<T1,T2> const >
150
151
typedef T2 type;
152
153
154
155
// specialization of tuple_size for pair
156
157
- struct tuple_size< const pair<T1,T2 > >
+ struct tuple_size< pair<T1,T2> const >
158
159
static const unsigned int value = 2;
160
}; // end tuple_size
0 commit comments