Boost C++ 库

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

函数模板 ne_fields - Boost C++ 函数库
PrevUpHomeNext

函数模板 ne_fields

boost::pfr::ne_fields

提要

// In header: <boost/pfr/ops_fields.hpp>


template<typename T, typename U> bool ne_fields(const T & lhs, const U & rhs);

描述

进行逐字段的“不等于”比较。

返回

L != R || tuple_size_v<T> != tuple_size_v<U>,其中 LR 是分别对 lhs 的前 N 个字段调用 std::tie 的结果,并且


PrevUpHomeNext