Inherited synthesized comparison operator produces warning/error: ISO C++20 considers use of overloaded operator '!='

后端 未结 0 1356
轮回少年
轮回少年 2021-01-22 01:17

In the following code snippet clang 11.0.1 generates a warning

template
struct foo
{
    template
    bool operator==(const S &o         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题