invert incorrect Borland check
[SVN r25963]
This commit is contained in:
1 parent
6a54b331ce
commit
1f249a29bd
1 file changed
+4
-4
+4
-4
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user