# -*- mode: snippet -*-
# name: operator+
# key: +
# group: operator overloading
# --
${1:Name} $1::operator+(const $1 &other)
{
    $1 result = *this;
    result += other;
    return result;
}