STL函数总结列表------------------未完(续)

STL函数总结列表------------------未完(续)

std::vector :( std::vector<int> piece_list; )
                 | 1.piece_list.reserve(std::count(pieces.begin(), pieces.end(), false));  预留std::count个大小
                 | 2.for (std::vector<int>::reverse_iterator i = piece_list.rbegin();   i != piece_list.rend(); ++i)     倒着走
                 | 3.find_if()---------可以参考最近的随笔
                 |
                 |
                 |
                 |
                 |
                 |
                 |
                 |
                 |
                 |
                 |
                 |
                 |
                 |
                 |
                 |
                 |
                 |

你可能感兴趣的:(STL函数总结列表------------------未完(续))