|
Boost : |
From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-04-10 08:14:50
"Daniel James" <daniel_at_[hidden]> wrote in message
news:d3b7tr$d43$1_at_sea.gmane.org...
| I've just checked in an attempt at supporting built-in arrays in
| boost::hash. It's not great and I might remove it before Friday. My main
| problem was that overloading hash_value for both T* and T[Size] causes
| ambiguity
why? Does
template< class T >
void hash( size_t&, const T* );
template< class T, unsigned N >
void hash( size_t&, const T (&array)[N] );
not work?
-Thorsten
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk