c++ STL六大部件

c++ STL六大部件_第1张图片


#include 
#include 
#include 
#include 

using namespace std;

int main()
{
    int ia [] = { 10,20,5,55,25 };
    vector> v(ia, ia + 6);
    cout << count_if(v.begin(), v.end(), not1(
        bind2nd(less(), 40)
    )
    );

 
}

你可能感兴趣的:(c++,stl)