Boost C++ 库

...世界上最受推崇、设计最精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu, C++ Coding Standards

函数模板 operator== - Boost C++ 函数库
PrevUpHomeNext

函数模板 operator==

boost::stl_interfaces::operator==

提要

// In header: <boost/stl_interfaces/sequence_container_interface.hpp>


template<typename ContainerInterface> 
  decltype(v1_dtl::derived_container(lhs), lhs.size()==rhs.size(), *lhs.begin()== *rhs.begin(), true) 
  operator==(ContainerInterface const & lhs, ContainerInterface const & rhs);

描述

为所有派生自 sequence_container_interface 的容器实现 operator==()


PrevUpHomeNext