A toString() snippet.

This commit is contained in:
kiith-sa 2012-12-01 18:15:01 +01:00
parent 59abbd6c96
commit a236077901

View File

@ -443,7 +443,7 @@ unittest
endsnippet
# Operators
# Common member functions
snippet opDis "opDispatch (opDis)" b
${1:/*return type*/} opDispatch(string s)()
@ -479,6 +479,13 @@ int opApply(int delegate(ref ${1:/*iterated type/s*/}) dg)
}
endsnippet
snippet toString "toString (toString)" b
string toString() @safe const pure nothrow
{
${1:/*code*/}
}
endsnippet
# Comments