mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-06 00:04:35 +02:00
check for STLPORT instead of specific compiler
[SVN r25965]
This commit is contained in:
@@ -63,7 +63,7 @@ int main()
|
|||||||
typedef mpl::range_c<int,0,10> numbers;
|
typedef mpl::range_c<int,0,10> numbers;
|
||||||
std::vector<int> v;
|
std::vector<int> v;
|
||||||
|
|
||||||
#if BOOST_WORKAROUND(__BORLANDC__, >= 0x561)
|
#if defined(__SGI_STL_PORT)
|
||||||
void (std::vector<int>::* push_back)(int const&) = &std::vector<int>::push_back;
|
void (std::vector<int>::* push_back)(int const&) = &std::vector<int>::push_back;
|
||||||
mpl::for_each<numbers>(
|
mpl::for_each<numbers>(
|
||||||
boost::bind(push_back, &v, _1)
|
boost::bind(push_back, &v, _1)
|
||||||
|
Reference in New Issue
Block a user