Boost C++ 库

...世界上最受尊敬和专业设计的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu, C++ 编码标准

PrevUpHomeNext

头文件 <boost/algorithm/cxx11/is_partitioned.hpp>

判断一个序列是否被划分。

Marshall Clow

namespace boost {
  namespace algorithm {
    template<typename InputIterator, typename UnaryPredicate> 
      BOOST_CXX14_CONSTEXPR bool 
      is_partitioned(InputIterator, InputIterator, UnaryPredicate);
    template<typename Range, typename UnaryPredicate> 
      BOOST_CXX14_CONSTEXPR bool is_partitioned(const Range &, UnaryPredicate);
  }
}

PrevUpHomeNext