
29 Jun
2005
29 Jun
'05
1:53 p.m.
Michael Stevens wrote: [...]
template<class V> void hard (V &data, const typename vector_range<V>::range_type &r) {} template<class V> void hard (vector_slice<V> &data, const typename vector_slice<V>::range_type &r) {}
[...]
It thinks the functions 'hard' are ambiguous despite the fact that the first parameter is more specialised in the second version.
The functions do seem ambiguous to me. I see no partial ordering between them.