Can I substitue C++ ternary operator for if in this case?

后端 未结 0 925
挽巷
挽巷 2021-01-13 12:54

I have the following block:

    int i = 0;
    std::apply([&](auto &&... args) mutable {
        ((ef = (i++ == id) ?
               args.modifyEf         


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