File: EmptyLineBeforeAccessModifier.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 (15 lines) | stat: -rw-r--r-- 181 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// No line break restriction after access modifiers

struct foo {
  private:
    int i;

  protected:
    int j;
    /* comment */
  public:
    foo() {}

  private:
  protected:
};