Snippet: = copy assignment operator

property value
IDE Visual Studio
Language C++
Title = copy assignment operator
Shortcut oo
Description copy assignment operator
Snippet Types Expansion
SurroundsWith

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
other Other other yes
typeName Type name TypeName no TypeName()

Code

TypeName& operator=(TypeName other) {
	
	return *this;
}