Cleanest way to make a lambda that returns a const reference to a data member?

后端 未结 0 1633
感动是毒
感动是毒 2021-02-19 07:00

With the advent of std::views::transform and the addition of projections to std::algorithm, it becomes common to want a function that returns

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