dotfiles/.emacs.d/snippets/c++-mode/operator[]

9 lines
140 B
Plaintext

# -*- mode: snippet -*-
# name: operator[]
# key: []
# group: operator overloading
# --
${1:Type}& operator[](${2:int index})
{
$0
}