【问题标题】:Is there an option in Resharper C++ to convert functions/methods to trailing return types?Resharper C++ 中是否有将函数/方法转换为尾随返回类型的选项?
【发布时间】:2016-07-22 13:45:49
【问题描述】:

Resharper 中是否有将函数/方法转换为尾随返回类型的选项?

来自

int MyClass::add(int a, int b) const

auto MyClass::add(int a, int b) const -> int

【问题讨论】:

    标签: c++ resharper


    【解决方案1】:

    目前在 ReSharper C++ 中无法做到这一点。我提交了功能请求 (https://youtrack.jetbrains.com/issue/RSCPP-17722),请投票支持它以接收更新。

    【讨论】:

      猜你喜欢
      • 2018-04-20
      • 2021-05-17
      • 2019-01-26
      • 2016-09-26
      • 1970-01-01
      • 1970-01-01
      • 2020-06-13
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多