From 8191680f63e9cc6259e0efba92eb2a928cb93ae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20M=2E=20L=C3=B3pez=20Mu=C3=B1oz?= Date: Tue, 11 May 2004 06:28:58 +0000 Subject: [PATCH] workaround for a problem of VC7.1 with using decls of template memfuns from a private base [SVN r22782] --- include/boost/multi_index/detail/access_specifier.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/boost/multi_index/detail/access_specifier.hpp b/include/boost/multi_index/detail/access_specifier.hpp index 5d367b0..1601bbd 100644 --- a/include/boost/multi_index/detail/access_specifier.hpp +++ b/include/boost/multi_index/detail/access_specifier.hpp @@ -27,10 +27,14 @@ /* GCC does not correctly support in-class using declarations for template * functions. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9810 + * MSVC 7.1 seems to have a similar problem, though the conditions in which + * the error happens are not that simple. I have yet to isolate this + * into a snippet suitable for bug reporting. */ #if BOOST_WORKAROUND(__GNUC__, <3)||\ - BOOST_WORKAROUND(__GNUC__,==3)&&(__GNUC_MINOR__<4) + BOOST_WORKAROUND(__GNUC__,==3)&&(__GNUC_MINOR__<4)||\ + BOOST_WORKAROUND(BOOST_MSVC,==1310) #define BOOST_MULTI_INDEX_PRIVATE_IF_USING_DECL_FOR_TEMPL_FUNCTIONS public #else #define BOOST_MULTI_INDEX_PRIVATE_IF_USING_DECL_FOR_TEMPL_FUNCTIONS private