Missing missing return statement accepted by g++

后端 未结 0 596
难免孤独
难免孤独 2021-01-30 12:43
class Foo
{
public:
    int bar()
    {
        bool bla = false;
        auto lambda = [&]() -> int {
            if (bla)
            {
                return 0         


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