← 返回事件
持续讨论AI发版

trunk/3fc24f694110f71e58500e2e93fd7d8dcd633e82: Default equality operators for member-wise-comparable structs (#194889)

发生了什么

Summary SchemaArgument , Generator , and Stride each hand-wrote operator== as a straight member-by-member comparison -- exactly what = default does. Generator 's hand-written operator!= is dropped since C++20's rewritten-candidates rule now synthesizes it from the defaulted == ; Stride / SchemaArgument gain a free != the same way. Test plan lintrunner -a aten/src/ATen/core/function_schema.h aten/src/ATen/core/Genera…

摘要按规则整理自下方来源原文

为什么在扩散

来源