File: IndentRequires.cpp

package info (click to toggle)
bluebrain-hpc-coding-conventions 1.0.0%2Bgit20221201-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 624 kB
  • sloc: python: 2,021; cpp: 220; makefile: 29
file content (10 lines) | stat: -rw-r--r-- 181 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
// line break before C++20 `requires` directive

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

// clang-format on