Ternary operator throwing exception when handling references of uncopiable classes

前端 未结 0 948
误落风尘
误落风尘 2021-02-06 11:41

It is legal to throw exceptions in a ternary operator. However, this

struct uncopiable {
    uncopiable(const uncopiable&) = delete;
};

struct foo {
    unco         


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