Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-06-29 08:53:36


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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk