invert incorrect Borland check

[SVN r25963]
This commit is contained in:
Aleksey Gurtovoy
2004-10-30 08:20:20 +00:00
parent 6a54b331ce
commit 1f249a29bd

View File

@@ -64,14 +64,14 @@ int main()
std::vector<int> v;
#if BOOST_WORKAROUND(__BORLANDC__, >= 0x561)
mpl::for_each<numbers>(
boost::bind(&std::vector<int>::push_back, &v, _1)
);
#else
void (std::vector<int>::* push_back)(int const&) = &std::vector<int>::push_back;
mpl::for_each<numbers>(
boost::bind(push_back, &v, _1)
);
#else
mpl::for_each<numbers>(
boost::bind(&std::vector<int>::push_back, &v, _1)
);
#endif
mpl::for_each< numbers >(value_printer(std::cout));