A toString() snippet.
This commit is contained in:
parent
59abbd6c96
commit
a236077901
@ -443,7 +443,7 @@ unittest
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
|
||||||
# Operators
|
# Common member functions
|
||||||
|
|
||||||
snippet opDis "opDispatch (opDis)" b
|
snippet opDis "opDispatch (opDis)" b
|
||||||
${1:/*return type*/} opDispatch(string s)()
|
${1:/*return type*/} opDispatch(string s)()
|
||||||
@ -479,6 +479,13 @@ int opApply(int delegate(ref ${1:/*iterated type/s*/}) dg)
|
|||||||
}
|
}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet toString "toString (toString)" b
|
||||||
|
string toString() @safe const pure nothrow
|
||||||
|
{
|
||||||
|
${1:/*code*/}
|
||||||
|
}
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
|
||||||
# Comments
|
# Comments
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user