mirror of
https://github.com/boostorg/function.git
synced 2025-06-25 20:11:37 +02:00
Compare commits
5 Commits
svn-branch
...
boost-1.30
Author | SHA1 | Date | |
---|---|---|---|
e1e08b9e18 | |||
4d72eca731 | |||
e086508843 | |||
709b299cea | |||
93f11e94e2 |
@ -60,7 +60,7 @@ namespace boost { namespace python { namespace objects {
|
||||
#endif
|
||||
|
||||
// Borland C++ 5.6.0 doesn't support enable_if
|
||||
#if BOOST_WORKAROUND(__BORLANDC__, <= 0x562)
|
||||
#if BOOST_WORKAROUND(__BORLANDC__, <= 0x564)
|
||||
# define BOOST_FUNCTION_NO_ENABLE_IF
|
||||
#endif
|
||||
|
||||
@ -372,7 +372,7 @@ public:
|
||||
void operator==(const function_base&, const function_base&);
|
||||
void operator!=(const function_base&, const function_base&);
|
||||
|
||||
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
|
||||
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1310)
|
||||
inline bool operator==(const function_base& f,
|
||||
detail::function::useless_clear_type*)
|
||||
{
|
||||
|
@ -25,7 +25,7 @@ void do_sum_avg(int values[], int n, int& sum, float& avg)
|
||||
}
|
||||
int main()
|
||||
{
|
||||
boost::function4<void, int[], int, int&, float> sum_avg;
|
||||
boost::function4<void, int[], int, int&, float&> sum_avg;
|
||||
sum_avg = &do_sum_avg;
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user