mirror of
https://github.com/boostorg/multi_index.git
synced 2025-05-11 13:24:04 +00:00
added workaround for a problem of MSVC 8.0 with qualified member template friends
[SVN r24107]
This commit is contained in:
parent
ce605018d1
commit
52e1888c07
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user