|
Boost : |
From: Daniel James (daniel_at_[hidden])
Date: 2004-12-04 05:03:09
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk