zoukankan      html  css  js  c++  java
  • C++ 标准库之algorithm

    The header <algorithm> defines a collection of functions especially designed to be used on ranges of elements.

    A range is any sequence of objects that can be accessed through iterators or pointers, such as an array or an instance of some of the STL containers . Notice though, that algorithms operate through iterators directly on the values, not affecting in any way the structure of any possible container (it never affects the size or storage allocation of the container).

    Functions in <algorithm>

    Non-modifying sequence operations :



    Modifying sequence operations :



    Sorting :



    Binary search (operating on sorted ranges):



    Merge (operating on sorted ranges):



    Heap :



    Min/max :

     
  • 相关阅读:
    redis -- RDB
    redis--数据库
    redis-慢查询日志
    redis 订阅与发布
    redis 事务
    redis 事件
    redis--服务器与客户端
    readis 内部数据结构
    Redis数据类型
    Docker 限制容器资源
  • 原文地址:https://www.cnblogs.com/zhongwh/p/2326060.html
Copyright © 2011-2022 走看看