cw-8_x doesn't have function types

[SVN r32415]
This commit is contained in:
Arkadiy Vertleyb
2006-01-26 02:52:05 +00:00
parent 18f15afa52
commit bd2418b32d
2 changed files with 8 additions and 0 deletions

View File

@ -26,6 +26,8 @@ namespace
typedef BOOST_PP_CAT(iter, BOOST_PP_INC(n)) iter;
};
#ifndef BOOST_TYPEOF_NO_FUNCTION_TYPES
// function references
template<class V, class R BOOST_PP_ENUM_TRAILING_PARAMS(n, class P)>
@ -62,6 +64,8 @@ namespace
typedef BOOST_PP_CAT(iter, BOOST_PP_INC(n)) iter;
};
#endif//BOOST_TYPEOF_NO_FUNCTION_TYPES
// member functions
#define BOOST_TYPEOF_qualifier

View File

@ -64,6 +64,10 @@
# endif
# define BOOST_TYPEOF_KEYWORD __typeof__
# endif
# if(__MWERKS__ <= 0x3003) // 8.x
# define BOOST_TYPEOF_NO_FUNCTION_TYPES
# endif
#elif defined(_MSC_VER)
# if (_MSC_VER <= 1300) // 6.5, 7.0