跳转至

IndentRequires

IndentRequires (Boolean)

Info

clang-format 13

在模板中缩进 requires 子句

template <typename It>
    requires Iterator<It>
void sort(It begin, It end) {
//....
}
template <typename It>
requires Iterator<It>
void sort(It begin, It end) {
//....
}

最后更新: 2022-10-31