Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-02-04 11:25:26

From: "hugo_duncan" <hugo.duncan_at_[hidden]>
> shared_ptr seems to use unqualified references to detail namespace. I am
not sure if this is a problem specifically for MSVC 7, or a general issue.
> While compiling code on MSVC 7 (which compiled fine using the boost CVS
version last week) I get the followinging error:
> c:\usr\boost\boost\shared_ptr.hpp(104) : error C2872: 'detail' : ambiguous
> could be 'boost::detail'
> or 'boost::unit_test_framework::detail'

Could you please post a code snippet? There is no 'unit_test_framework'
anywhere in my boost source tree; in any event, the above is likely caused

namespace boost
    using namespace unit_test_framework;

which looks evil to me. 'detail' when referenced from within boost should
unambiguously designate boost::detail.

Boost list run by bdawes at, gregod at, cpdaniel at, john at