A toString() snippet.
This commit is contained in:
parent
59abbd6c96
commit
a236077901
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user