
4 Dec
2004
4 Dec
'04
10:03 a.m.
Jonathan Turkanis wrote:
I'm posting this now because yesterday I figured out how to make it work on EDG (except for Comeau).
Unfortunately, it doesn't work on Intel Linux in strict mode, it just gives 0 every time. If I understand the problem correctly (and I'm not sure that I do), the declaration of unique_id_helper that you want to find is inside unique_id_impl<T>::declare_friend<Tag> which is neither in scope, or subject to ADL, when it is 'called' in unique_id_impl<T>::unmarked<Tag, N>. So only the 'no_type' declaration in boost::detail is found. I hope that makes sense. Daniel