Making 3 line function a one liner.

Simple challenge for frequent action while programming.

Input

Pixel *operator[](Position p) {
    return &pixels[p.getc()][p.getr()];
}

Output

Pixel *operator[](Position p) { return &pixels[p.getc()][p.getr()]; }