added workaround for a problem of MSVC 8.0 with qualified member template friends

[SVN r24107]
This commit is contained in:
Joaquín M. López Muñoz 2004-07-27 07:18:43 +00:00
parent ce605018d1
commit 52e1888c07

View File

@ -95,10 +95,18 @@ protected:
const safe_container_base* owner()const{return cont;}
#if BOOST_WORKAROUND(BOOST_MSVC,==1400)
/* MSVC 8.0 seems to have problems with qualified member template friends */
public:
#else
BOOST_MULTI_INDEX_PRIVATE_IF_MEMBER_TEMPLATE_FRIENDS:
#endif
friend class safe_container_base;
#if !defined(BOOST_NO_MEMBER_TEMPLATE_FRIENDS)
#if BOOST_WORKAROUND(BOOST_MSVC,==1400)
/* MSVC 8.0 seems to have problems with qualified member template friends */
#elif !defined(BOOST_NO_MEMBER_TEMPLATE_FRIENDS)
template<typename Iterator> friend
void safe_mode::detach_equivalent_iterators(Iterator&);
#endif